### Question:
RpcReply extends RpcMessage { RpcReply(int xid, ReplyState state, Verifier verifier) { super(xid, RpcMessage.Type.RPC_REPLY); this.replyState = state; this.verifier = verifier; } RpcReply(int xid, ReplyState state, Verifier verifier); RpcAuthInfo getVerifier(); static RpcReply read(XDR xdr); ReplyState getState();  }### Answer:
@Test public void testRpcReply() { RpcReply reply = new RpcReply(0, ReplyState.MSG_ACCEPTED, new VerifierNone()) { @Override public XDR write(XDR xdr) { return null; } }; Assert.assertEquals(0, reply.getXid()); Assert.assertEquals(RpcMessage.Type.RPC_REPLY, reply.getMessageType()); Assert.assertEquals(ReplyState.MSG_ACCEPTED, reply.getState()); }