Author: jstrachan
Date: Wed May 14 01:40:43 2008
New Revision: 656152

URL: http://svn.apache.org/viewvc?rev=656152&view=rev
Log:
fixed compile error as part of previous test case for  
https://issues.apache.org/activemq/browse/CAMEL-505 - DOH! Note to self - zap 
all crap local files :)

Modified:
    
activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/file/SpringFileRouteTest.java

Modified: 
activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/file/SpringFileRouteTest.java
URL: 
http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/file/SpringFileRouteTest.java?rev=656152&r1=656151&r2=656152&view=diff
==============================================================================
--- 
activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/file/SpringFileRouteTest.java
 (original)
+++ 
activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/file/SpringFileRouteTest.java
 Wed May 14 01:40:43 2008
@@ -23,7 +23,7 @@
 import org.apache.camel.Endpoint;
 import org.apache.camel.EndpointInject;
 import org.apache.camel.TestSupport;
-import org.apache.camel.Assertions;
+import org.apache.camel.hamcrest.Assertions;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.test.context.ContextConfiguration;
@@ -44,7 +44,7 @@
 
     public void testMocksAreValid() throws Exception {
         // lets check that our injected endpoint is valid 
-        FileEndpoint fileEndpoint = 
Assertions.assertIsInstanceOf(FileEndpoint.class, inputFile);
+        FileEndpoint fileEndpoint = Assertions.assertInstanceOf(inputFile, 
FileEndpoint.class);
         assertEquals("File", new File("target/test-default-inbox"), 
fileEndpoint.getFile());
 
         result.expectedBodiesReceived(expectedBody);


Reply via email to