});
interceptorInvokedLatch.await();
// check that the context on the test interceptor is correct.
MethodCall methodCall = testInterceptor.methodCall;
interceptorResumeLatch.countDown();
assert methodCall.getMethodId() == PutKeyValueCommand.METHOD_ID;
assert methodCall.getArgs()[0] == null; // gtx
assert methodCall.getArgs()[1].equals(Fqn.fromString("/a")); // fqn
assert methodCall.getArgs()[2].equals("k"); // key
assert methodCall.getArgs()[3].equals("v"); // value
assert methodCall.getArgs()[4] == Boolean.FALSE; //last boolean value
}