### Question:
Datastore { public void delete(Key key) { execute(SQL_DELETE, key); } private  Datastore(ConnectionManager connectionManager); static Datastore create(ConnectionManager connectionManager); Key put(Entity entity); Entity get(final Key key); void delete(Key key); List<Entity> query(Query query);  }### Answer:
@Test(expected = EntityNotFoundException.class) public void delete() throws EntityNotFoundException { Key key = KeyFactory.createKey("parents", "xpto"); Entity entity = new Entity(key); datastore.put(entity); datastore.delete(key); datastore.get(key); }