public Where getObjectTypes() {
        return new Where("ObjectTypes");
    }
@Test
    void makeSureFirstAndLastObjectTypesAreTheSame() throws Exception {

        queryableIndex.getObjectTypes()
                .where(ObjectType.type()
                        .is("Person"))
                .select()
                .first(objectTypeQueryCallback);

        verify(objectTypeQueryCallback).callback(objectTypeArgumentCaptor.capture());

        final ObjectType first = objectTypeArgumentCaptor.getValue();

        reset(objectTypeQueryCallback);

        queryableIndex.getObjectTypes()
                .where(ObjectType.type()
                        .is("Person"))
                .select()
                .last(objectTypeQueryCallback);

        verify(objectTypeQueryCallback).callback(objectTypeArgumentCaptor.capture());

        final ObjectType last = objectTypeArgumentCaptor.getValue();

        assertThat(first.getType()).isEqualTo("Person");
        assertThat(last).isEqualTo(first);
    }