modify code style
This commit is contained in:
parent
dd6e47552b
commit
78c330a804
|
|
@ -63,13 +63,9 @@ public class MongoDBMethodInterceptorTest {
|
|||
|
||||
BsonDocument document = new BsonDocument();
|
||||
document.append("name", new BsonString("by"));
|
||||
|
||||
MongoNamespace mongoNamespace = new MongoNamespace("test.user");
|
||||
|
||||
Decoder decoder = PowerMockito.mock(Decoder.class);
|
||||
|
||||
FindOperation findOperation = new FindOperation(mongoNamespace, decoder);
|
||||
|
||||
findOperation.filter(document);
|
||||
|
||||
when(methodInvokeContext.allArguments()).thenReturn(new Object[] {findOperation});
|
||||
|
|
|
|||
Loading…
Reference in New Issue