@Test
ublic void testCreateCommandWhenInboundCommandNotExist() {

   // Setup
   final TransporterCommand command = mock(TransporterCommand.class);
   when(mockCommandOrchestrator.isInboundCommandExist(command.getRefId())).thenReturn(false);
   // Run the test
   final ResponseEntity<?> result = commandControllerUnderTest.createCommand(command);
   // Verify the results
   assertEquals(result.getStatusCode(), HttpStatus.ACCEPTED);
   verify(mockCommandOrchestrator).receive(any(InboundCommand.class));
}