@Test
public void getCount_twoEntitiesStored_shouldReturnTwoEntities() {

    // given
    createEntityInDatastore(KIND_NAME, PROPERTY_NAME, A_NAME);
    createEntityInDatastore(KIND_NAME, PROPERTY_NAME, ANOTHER_NAME);
    // when
    long entityCount = entitiesService.getCount(KIND_NAME, ALL_NAMESPACES);
    // then
    assertEquals(2L, entityCount);
}