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