JacksonEngine custom = createProcessorWithView(Views.Private.class);
Fox vixen = new Fox("fantastic", "roux");
vixen.setGender("female");
BsonDocument doc = custom.marshall(vixen);
DBObject result = doc.toDBObject();
assertThat(result.get("_class")).isEqualTo("org.jongo.model.Fox");
assertThat(result.get("name")).isEqualTo("fantastic");
assertThat(result.get("color")).isEqualTo("roux");
assertThat(result.get("gender")).isEqualTo("female");
}