ctubbsii commented on a change in pull request #1701:
URL: https://github.com/apache/accumulo/pull/1701#discussion_r484151738
##########
File path:
server/base/src/test/java/org/apache/accumulo/server/ServiceEnvironmentImplTest.java
##########
@@ -44,6 +46,12 @@ public void setUp() {
serviceEnvironment = new ServiceEnvironmentImpl(srvCtx);
}
+ @After
+ public void verifyMocks() {
+ verify(srvCtx);
+ verify(acfg);
+ }
+
Review comment:
The verify method is actually a varargs, so you can pass both in one:
```suggestion
@After
public void verifyMocks() {
verify(srvCtx, acfg);
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]