assertEquals(object, coll.findOne());
}
@Test
public void testIntId() {
MockObjectIntId object = new MockObjectIntId();
object._id = 123456;
JacksonDBCollection<MockObjectIntId, Integer> coll = getCollectionAs(
MockObjectIntId.class, Integer.class);
coll.insert(object);
MockObjectIntId result = coll.findOne();
assertEquals(object._id, result._id);
}