@Test(expected = EntityNotFoundException.class)
public void deleteEntity_entityStored_shouldDeleteEntity() throws EntityNotFoundException {

    // given
    Entity sentEntity = createEntityInDatastore(KIND_NAME, PROPERTY_NAME, A_NAME);
    Key entityKey = sentEntity.getKey();
    Long entityId = entityKey.getId();
    // when
    entityService.deleteEntity(entityKey);
    // then
    getEntityFromEntityResource(entityId);
}