### Question:
RpcAcceptedReply extends RpcReply { public AcceptState getAcceptState() { return acceptState; } RpcAcceptedReply(int xid, ReplyState state, Verifier verifier,
      AcceptState acceptState); static RpcAcceptedReply getAcceptInstance(int xid, 
      Verifier verifier); static RpcAcceptedReply getInstance(int xid, AcceptState state,
      Verifier verifier); static RpcAcceptedReply read(int xid, ReplyState replyState, XDR xdr); AcceptState getAcceptState(); @Override XDR write(XDR xdr);  }### Answer:
@Test public void testConstructor() { Verifier verifier = new VerifierNone(); RpcAcceptedReply reply = new RpcAcceptedReply(0, ReplyState.MSG_ACCEPTED, verifier, AcceptState.SUCCESS); assertEquals(0, reply.getXid()); assertEquals(RpcMessage.Type.RPC_REPLY, reply.getMessageType()); assertEquals(ReplyState.MSG_ACCEPTED, reply.getState()); assertEquals(verifier, reply.getVerifier()); assertEquals(AcceptState.SUCCESS, reply.getAcceptState()); }