camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bvah...@apache.org
Subject svn commit: r1359341 - /camel/trunk/camel-core/src/test/java/org/apache/camel/component/seda/SedaRemoveRouteThenAddAgainTest.java
Date Mon, 09 Jul 2012 19:11:47 GMT
Author: bvahdat
Date: Mon Jul  9 19:11:46 2012
New Revision: 1359341

URL: http://svn.apache.org/viewvc?rev=1359341&view=rev
Log:
CAMEL-5432: Polished the unit-test.

Modified:
    camel/trunk/camel-core/src/test/java/org/apache/camel/component/seda/SedaRemoveRouteThenAddAgainTest.java

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/component/seda/SedaRemoveRouteThenAddAgainTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/component/seda/SedaRemoveRouteThenAddAgainTest.java?rev=1359341&r1=1359340&r2=1359341&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/component/seda/SedaRemoveRouteThenAddAgainTest.java
(original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/component/seda/SedaRemoveRouteThenAddAgainTest.java
Mon Jul  9 19:11:46 2012
@@ -25,17 +25,6 @@ import org.apache.camel.component.mock.M
  */
 public class SedaRemoveRouteThenAddAgainTest extends ContextTestSupport {
 
-    @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
-        return new RouteBuilder() {
-
-            @Override
-            public void configure() throws Exception {
-                from("seda:in").id("sedaToMock").to("mock:out");
-            }
-        };
-    }
-
     public void testRemoveRouteAndThenAddAgain() throws Exception {
         MockEndpoint out = getMockEndpoint("mock:out");
         out.expectedMessageCount(1);
@@ -61,4 +50,15 @@ public class SedaRemoveRouteThenAddAgain
 
         out.assertIsSatisfied();
     }
+
+    @Override
+    protected RouteBuilder createRouteBuilder() throws Exception {
+        return new RouteBuilder() {
+            @Override
+            public void configure() throws Exception {
+                from("seda:in").routeId("sedaToMock").to("mock:out");
+            }
+        };
+    }
+
 }
\ No newline at end of file



Mime
View raw message