You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by he...@apache.org on 2013/12/30 22:40:11 UTC

[3/3] git commit: [JGroups] Refactored tests.

[JGroups] Refactored tests.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/96d1c2aa
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/96d1c2aa
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/96d1c2aa

Branch: refs/heads/master
Commit: 96d1c2aa6352614a84828a60591a3a6b70b3292a
Parents: 1c971c7
Author: Henryk Konsek <he...@gmail.com>
Authored: Mon Dec 30 22:39:27 2013 +0100
Committer: Henryk Konsek <he...@gmail.com>
Committed: Mon Dec 30 22:39:27 2013 +0100

----------------------------------------------------------------------
 .../apache/camel/component/jgroups/JGroupsConsumerTest.java  | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/96d1c2aa/components/camel-jgroups/src/test/java/org/apache/camel/component/jgroups/JGroupsConsumerTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jgroups/src/test/java/org/apache/camel/component/jgroups/JGroupsConsumerTest.java b/components/camel-jgroups/src/test/java/org/apache/camel/component/jgroups/JGroupsConsumerTest.java
index 900ccf5..5e6dccc 100644
--- a/components/camel-jgroups/src/test/java/org/apache/camel/component/jgroups/JGroupsConsumerTest.java
+++ b/components/camel-jgroups/src/test/java/org/apache/camel/component/jgroups/JGroupsConsumerTest.java
@@ -66,6 +66,8 @@ public class JGroupsConsumerTest extends CamelTestSupport {
         super.tearDown();
     }
 
+    // Tests
+
     @Test
     public void shouldConsumeMulticastedMessage() throws Exception {
         // Given
@@ -76,7 +78,7 @@ public class JGroupsConsumerTest extends CamelTestSupport {
         channel.send(new Message(null, null, message));
 
         // Then
-        mockEndpoint.assertIsSatisfied();
+        assertMockEndpointsSatisfied();
     }
 
     @Test
@@ -89,7 +91,7 @@ public class JGroupsConsumerTest extends CamelTestSupport {
         channel.send(new Message(null, null, message));
 
         // Then
-        mockEndpoint.assertIsSatisfied();
+        assertMockEndpointsSatisfied();
     }
 
-}
+}
\ No newline at end of file