File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
integrationTest/scala/org/mongodb/scala/syncadapter
test/scala/org/mongodb/scala Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
package org .mongodb .scala .syncadapter
2
2
3
3
import com .mongodb .MongoDriverInformation
4
- import com .mongodb .client .{MongoClient => JMongoClient }
4
+ import com .mongodb .client .{ MongoClient => JMongoClient }
5
5
import org .mongodb .scala .MongoClient
6
6
7
7
case class SyncMongoClient (wrapped : MongoClient ) extends SyncMongoCluster (wrapped) with JMongoClient {
Original file line number Diff line number Diff line change 16
16
17
17
package org .mongodb .scala
18
18
19
- import com .mongodb .reactivestreams .client .{MongoClient => JMongoClient }
19
+ import com .mongodb .reactivestreams .client .{ MongoClient => JMongoClient }
20
20
import org .bson .BsonDocument
21
21
import org .mockito .Mockito .verify
22
- import org .mongodb .scala .model .bulk .{ClientBulkWriteOptions , ClientNamespacedWriteModel }
22
+ import org .mongodb .scala .model .bulk .{ ClientBulkWriteOptions , ClientNamespacedWriteModel }
23
23
import org .scalatestplus .mockito .MockitoSugar
24
24
25
25
import scala .collection .JavaConverters ._
@@ -36,8 +36,8 @@ class MongoClientSpec extends BaseSpec with MockitoSugar {
36
36
val local = classOf [MongoClient ].getMethods.map(_.getName)
37
37
38
38
wrapped.foreach((name : String ) => {
39
- // TODO-JAVA-5871 remove this if statement, but leave the body.
40
- if (! name.equals(" updateMetadata" )) {
39
+ // TODO-JAVA-5871 remove this if statement, but leave the body.
40
+ if (! name.equals(" updateMetadata" )) {
41
41
val cleanedName = name.stripPrefix(" get" )
42
42
assert(local.contains(name) | local.contains(cleanedName.head.toLower + cleanedName.tail), s " Missing: $name" )
43
43
}
You can’t perform that action at this time.
0 commit comments