@Test
public void transportCommandReturnsTrueWhenPostRequestSucceeds() {

    final TransporterCommand command = new TransporterCommand();
    final String postEndpoint = "http://kermoss";
    final ResponseEntity<TransporterCommand> response = ResponseEntity.ok(command);
    when(kermossProperties.getHttpDestination(anyString())).thenReturn(postEndpoint);
    when(restTemplate.exchange(anyString(), same(HttpMethod.POST), any(HttpEntity.class), same(TransporterCommand.class))).thenReturn(response);
    final Boolean result = restCommandTransporterStrategy.transportCommand(command);
    assertTrue(result);
}