Details
Description
Example:
@Test |
public void bsonObjectVsDBObject() throws Exception { |
assertEquals(
|
new BasicDBObject("_id", new ObjectId("5adf5c14ac34ea1322706a06")), |
new BasicBSONObject("_id", new ObjectId("5adf5c14ac34ea1322706a06"))); |
}
|
Test fails on both 3.7.0-rc0 and 3.8.0-beta1 while passes on 3.6.3:
java.lang.AssertionError:
|
Expected :{ "_id" : { "$oid" : "5adf5c14ac34ea1322706a06" } }
|
Actual :{_id=5adf5c14ac34ea1322706a06}
|