@Test
public void transportCommandReturnsTrueWhenPostRequestSucceeds() {

    final TransporterCommand command = new TransporterCommand();
    final Response response = Response.builder().status(202).headers(new HashMap<>()).build();
    when(clientFactory.apply(any(), any())).thenReturn(client);
    when(client.postCommand(any())).thenReturn(response);
    final Boolean result = feignCommandTransporterStrategy.transportCommand(command);
    assertTrue(result);
}