@Test public void testChangeStatusToFailed() { inboundCommandUnderTest.changeStatusToFailed(); verify(inboundCommandUnderTest).changeStatusToFailed(); assertThat(inboundCommandUnderTest.getStatus()).isEqualTo(Status.FAILED); }
public void changeStatusToFailed() { this.changeStatus(Status.FAILED); }
InboundCommand extends AbstractCommand { public void changeStatusToFailed() { this.changeStatus(Status.FAILED); } }
InboundCommand extends AbstractCommand { public void changeStatusToFailed() { this.changeStatus(Status.FAILED); } InboundCommand();  InboundCommand(String subject, String source, String destination, String GTX, String LTX, String FLTX, String PGTX, String additionalHeaders, String payload, Status status, String refId, String traceId);  InboundCommand( String subject, String source, String destination, String GTX, String LTX, String FLTX, String PGTX, String additionalHeaders, String payload, Status status, String traceId); }
InboundCommand extends AbstractCommand { public void changeStatusToFailed() { this.changeStatus(Status.FAILED); } InboundCommand();  InboundCommand(String subject, String source, String destination, String GTX, String LTX, String FLTX, String PGTX, String additionalHeaders, String payload, Status status, String refId, String traceId);  InboundCommand( String subject, String source, String destination, String GTX, String LTX, String FLTX, String PGTX, String additionalHeaders, String payload, Status status, String traceId); static InboundCommandBuilder builder(); Status getStatus(); void setStatus(Status status); void changeStatus(final Status status); void changeStatusToCompleted(); void changeStatusToFailed(); Long getCompletedTimestamp(); void setCompletedTimestamp(Long completedTimestamp); String getRefId(); void setRefId(String refId); }
InboundCommand extends AbstractCommand { public void changeStatusToFailed() { this.changeStatus(Status.FAILED); } InboundCommand();  InboundCommand(String subject, String source, String destination, String GTX, String LTX, String FLTX, String PGTX, String additionalHeaders, String payload, Status status, String refId, String traceId);  InboundCommand( String subject, String source, String destination, String GTX, String LTX, String FLTX, String PGTX, String additionalHeaders, String payload, Status status, String traceId); static InboundCommandBuilder builder(); Status getStatus(); void setStatus(Status status); void changeStatus(final Status status); void changeStatusToCompleted(); void changeStatusToFailed(); Long getCompletedTimestamp(); void setCompletedTimestamp(Long completedTimestamp); String getRefId(); void setRefId(String refId);  }