File tree Expand file tree Collapse file tree
driver-compat/src/test/unit/com/mongodb/codecs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class DBObjectCodecSpecification extends Specification {
2727 @Subject
2828 DBObjectCodec dbObjectCodec = new DBObjectCodec ();
2929
30- def ' should convert EncodingException for a missing codec into old com Exceptions for writeValue' () {
30+ def ' should convert EncodingException for a missing codec into old com.mongodb. Exceptions for writeValue' () {
3131 BSONWriter bsonWriter = Mock ();
3232
3333 when :
@@ -37,7 +37,7 @@ class DBObjectCodecSpecification extends Specification {
3737 thrown(com.mongodb.MongoException )
3838 }
3939
40- def ' should convert EncodingException for a missing codec into old com Exceptions for readValue ' () {
40+ def ' should convert EncodingException for a missing codec into old com.mongodb.MongoException when reading a value ' () {
4141 BSONReader bsonReader = Mock ();
4242 bsonReader. _() >> { throw new EncodingException (' New layer Exception that should not leak' ) }
4343
You can’t perform that action at this time.
0 commit comments