@Test
public void testConstructor() {

  RpcDeniedReply reply = new RpcDeniedReply(0, ReplyState.MSG_ACCEPTED,
      RejectState.AUTH_ERROR, new VerifierNone());
  Assert.assertEquals(0, reply.getXid());
  Assert.assertEquals(RpcMessage.Type.RPC_REPLY, reply.getMessageType());
  Assert.assertEquals(ReplyState.MSG_ACCEPTED, reply.getState());
  Assert.assertEquals(RejectState.AUTH_ERROR, reply.getRejectState());
}