Skip to content

Commit 15fc2a3

Browse files
author
Trisha Gee
committed
Improved test names
1 parent 41fc4af commit 15fc2a3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

driver-compat/src/test/unit/com/mongodb/codecs/DBObjectCodecSpecification.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)