diff --git a/digiwf-connector/digiwf-connector-starter/src/test/java/de/muenchen/oss/digiwf/connector/core/application/usecase/ExecuteTaskUseCaseTest.java b/digiwf-connector/digiwf-connector-starter/src/test/java/de/muenchen/oss/digiwf/connector/core/application/usecase/ExecuteTaskUseCaseTest.java index f8d43ba6f4..077718b222 100644 --- a/digiwf-connector/digiwf-connector-starter/src/test/java/de/muenchen/oss/digiwf/connector/core/application/usecase/ExecuteTaskUseCaseTest.java +++ b/digiwf-connector/digiwf-connector-starter/src/test/java/de/muenchen/oss/digiwf/connector/core/application/usecase/ExecuteTaskUseCaseTest.java @@ -39,7 +39,7 @@ void executeTask_shouldCallEmitEventWithCorrectParametersAndDefaultDestination() useCase.executeTask(command); // Assert - verify(emitEventOutPort).emitEvent("defaultDestination", command.getType(), command.getInstanceId(), command.getIntegrationName(), command.getData()); + verify(emitEventOutPort).emitEvent("defaultDestination", command.getType(), command.getIntegrationName(), command.getInstanceId(), command.getData()); } @Test @@ -57,7 +57,7 @@ void executeTask_shouldCallEmitEventWithCorrectParametersAndCustomDestination() useCase.executeTask(command); // Assert - verify(emitEventOutPort).emitEvent(command.getCustomDestination(), command.getType(), command.getInstanceId(), command.getIntegrationName(), command.getData()); + verify(emitEventOutPort).emitEvent(command.getCustomDestination(), command.getType(), command.getIntegrationName(), command.getInstanceId(), command.getData()); } @Test @@ -75,7 +75,7 @@ void executeTask_shouldCallEmitEventWithCorrectParametersAndCustomDestinationFor useCase.executeTask(command); // Assert - verify(emitEventOutPort).emitEvent(command.getCustomDestination(), command.getType(), command.getInstanceId(), command.getIntegrationName(), command.getData()); + verify(emitEventOutPort).emitEvent(command.getCustomDestination(), command.getType(), command.getIntegrationName(), command.getInstanceId(), command.getData()); } @Test