@Test
public void canFindInheritedEntity() throws IOException {
collection.save(new Fox("fantastic", "roux"));
Animal animal = collection.findOne("{name:'fantastic'}").as(Animal.class);
assertThat(animal).isInstanceOf(Fox.class);
assertThat(animal.getId()).isNotNull();
}