@Test
public void testDefaultCostWithPrimaryTypeRestrictions() throws Exception {
NodeState root = mock(NodeState.class);
when(root.getNames(any(String.class))).thenReturn(Collections.<String>emptySet());
SelectorImpl selector = new SelectorImpl(root, "a");
SolrServer solrServer = mock(SolrServer.class);
OakSolrConfiguration configuration = new DefaultSolrConfiguration();
SolrQueryIndex solrQueryIndex = new SolrQueryIndex("solr", solrServer, configuration);