AbstractCommand extends Message { public CommandMeta buildMeta() { return new CommandMeta(this.getId(), this.getSubject(), this.GTX, this.LTX, this.PGTX, this.FLTX, this.traceId); } AbstractCommand(String subject, String source, String destination, String GTX, String LTX, String FLTX, String PGTX, String additionalHeaders, String payload, String traceId);  AbstractCommand();  AbstractCommand(String subject, String source, String destination, String gTX, String lTX, String fLTX,
			String additionalHeaders, String payload); CommandMeta buildMeta(); String getSubject(); String getSource(); String getDestination(); String getGTX(); String getLTX(); String getFLTX(); String getAdditionalHeaders(); String getPayload(); void setSubject(String subject); void setSource(String source); void setDestination(String destination); void setGTX(String GTX); void setLTX(String LTX); void setFLTX(String FLTX); void setAdditionalHeaders(String additionalHeaders); void setPayload(String payload); String getPGTX(); void setPGTX(String PGTX); Long getStartedTimestamp(); void setStartedTimestamp(Long startedTimestamp); Long getFailedTimestamp(); String getTraceId(); void setTraceId(String traceId); void setFailedTimestamp(Long failedTimestamp); @Override String toString();  }
@Test public void testBuildMeta() { final CommandMeta result = abstractCommandUnderTest.buildMeta(); assertEquals(subject, abstractCommandUnderTest.getSubject()); assertEquals(gtx, abstractCommandUnderTest.getGTX()); assertEquals(ltx, abstractCommandUnderTest.getLTX()); assertEquals(pgtx, abstractCommandUnderTest.getPGTX()); assertEquals(fltx, abstractCommandUnderTest.getFLTX()); assertEquals(traceId, abstractCommandUnderTest.getTraceId()); assertEquals(destination, abstractCommandUnderTest.getDestination()); }