modify code style

This commit is contained in:
baiyang 2017-04-20 18:04:44 +08:00
parent dd6e47552b
commit 78c330a804
1 changed files with 0 additions and 4 deletions

View File

@ -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});