You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/09/24 15:01:23 UTC
[camel] 02/02: Camel-AWS2-Eventbridge: More work on tests
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 0433ebe297be96ca23a36c465db4687af43b7419
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Sep 24 14:26:13 2020 +0200
Camel-AWS2-Eventbridge: More work on tests
---
.../localstack/EventbridgeDeleteRuleLocalstackTest.java | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/components/camel-aws2-eventbridge/src/test/java/org/apache/camel/component/aws2/eventbridge/localstack/EventbridgeDeleteRuleLocalstackTest.java b/components/camel-aws2-eventbridge/src/test/java/org/apache/camel/component/aws2/eventbridge/localstack/EventbridgeDeleteRuleLocalstackTest.java
index 8fa9203..0fe03d3 100644
--- a/components/camel-aws2-eventbridge/src/test/java/org/apache/camel/component/aws2/eventbridge/localstack/EventbridgeDeleteRuleLocalstackTest.java
+++ b/components/camel-aws2-eventbridge/src/test/java/org/apache/camel/component/aws2/eventbridge/localstack/EventbridgeDeleteRuleLocalstackTest.java
@@ -16,9 +16,6 @@
*/
package org.apache.camel.component.aws2.eventbridge.localstack;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.jupiter.api.Assertions.assertEquals;
-
import java.util.ArrayList;
import java.util.List;
@@ -30,10 +27,11 @@ import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.aws2.eventbridge.EventbridgeConstants;
import org.apache.camel.component.mock.MockEndpoint;
import org.junit.jupiter.api.Test;
-
import software.amazon.awssdk.services.eventbridge.model.DeleteRuleResponse;
import software.amazon.awssdk.services.eventbridge.model.Target;
+import static org.junit.Assert.assertNotNull;
+
public class EventbridgeDeleteRuleLocalstackTest extends Aws2EventbridgeBaseTest {
@EndpointInject
@@ -66,7 +64,7 @@ public class EventbridgeDeleteRuleLocalstackTest extends Aws2EventbridgeBaseTest
exchange.getIn().setHeader(EventbridgeConstants.TARGETS, targets);
}
});
-
+
Exchange ex = template.send("direct:evs-deleteRule", new Processor() {
@Override