@Test public void defaultInstanceHasNoPayload() { ResendResponse resendResponse = new ResendResponse(); assertThat(resendResponse.getPayload()).isNotPresent(); }
public Optional<byte[]> getPayload() { return Optional.ofNullable(payload); }
ResendResponse { public Optional<byte[]> getPayload() { return Optional.ofNullable(payload); } }
ResendResponse { public Optional<byte[]> getPayload() { return Optional.ofNullable(payload); } ResendResponse();  ResendResponse(byte[] payload); }
ResendResponse { public Optional<byte[]> getPayload() { return Optional.ofNullable(payload); } ResendResponse();  ResendResponse(byte[] payload); Optional<byte[]> getPayload(); void setPayload(byte[] payload); }
ResendResponse { public Optional<byte[]> getPayload() { return Optional.ofNullable(payload); } ResendResponse();  ResendResponse(byte[] payload); Optional<byte[]> getPayload(); void setPayload(byte[] payload);  }