document.put("aFloatField", 45.0f);
saveToMongo(document);
DBObject docFromMongo = getFromMongo(document.get("_id"));
DocumentToObjectConverter<SimplePOJO> converter = MonjoConverterFactory.getInstance().getDefaultDocumentConverter(SimplePOJO.class);
SimplePOJO convertedObject = converter.from(docFromMongo).to();
assertThat(convertedObject.getAnIntegerField(), is(equalTo(42)));
assertThat(convertedObject.getaLongField(), is(equalTo(43L)));
assertThat(convertedObject.getaDoubleField(), is(equalTo(44.0)));
}