23
23
import com .mongodb .client .model .CollationMaxVariable ;
24
24
import com .mongodb .client .model .CollationStrength ;
25
25
import com .mongodb .operation .ListCollectionsOperation ;
26
- import com .mongodb .operation .UserExistsOperation ;
27
26
import org .bson .BsonDocument ;
28
27
import org .bson .BsonString ;
29
28
import org .bson .codecs .BsonDocumentCodec ;
@@ -305,7 +304,7 @@ public void shouldAddUser() {
305
304
WriteResult result = database .addUser (userName , password , readOnly );
306
305
assertEquals (1 , result .getN ());
307
306
assertFalse (result .isUpdateOfExisting ());
308
- assertTrue (new UserExistsOperation (database .getName (), userName ).execute (getBinding ()));
307
+ assertTrue (new com . mongodb . operation . UserExistsOperation (database .getName (), userName ).execute (getBinding ()));
309
308
}
310
309
311
310
@ Test
@@ -328,7 +327,7 @@ public void shouldUpdateUser() {
328
327
result = database .addUser (userName , newPassword , newReadOnly );
329
328
assertEquals (1 , result .getN ());
330
329
assertTrue (result .isUpdateOfExisting ());
331
- assertTrue (new UserExistsOperation (database .getName (), userName ).execute (getBinding ()));
330
+ assertTrue (new com . mongodb . operation . UserExistsOperation (database .getName (), userName ).execute (getBinding ()));
332
331
}
333
332
334
333
@ Test
@@ -341,7 +340,7 @@ public void shouldRemoveUser() {
341
340
342
341
database .removeUser (userName );
343
342
344
- assertFalse (new UserExistsOperation (database .getName (), userName ).execute (getBinding ()));
343
+ assertFalse (new com . mongodb . operation . UserExistsOperation (database .getName (), userName ).execute (getBinding ()));
345
344
}
346
345
347
346
@ Test (expected = IllegalArgumentException .class )
0 commit comments