@Test @Ignore("As of OAK-622 this should no longer be used. Removing later.")
public void costContainsNativeConstraints(){
OrderedPropertyIndex index = new OrderedPropertyIndex();
NodeState root = InitialContent.INITIAL_CONTENT;
Filter filter = EasyMock.createNiceMock(Filter.class);
EasyMock.expect(filter.containsNativeConstraint()).andReturn(true).anyTimes();
EasyMock.replay(filter);
assertEquals("If it contains Natives we don't serve", Double.POSITIVE_INFINITY,
index.getCost(filter, root), 0);
}