camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1460729 - /camel/trunk/components/camel-spring/src/test/java/org/apache/camel/language/spel/SpringSimpleMultiLineExpressionTest.java
Date Mon, 25 Mar 2013 15:49:11 GMT
Author: davsclaus
Date: Mon Mar 25 15:49:11 2013
New Revision: 1460729

URL: http://svn.apache.org/r1460729
Log:
CAMEL-6179: Dont use hamcrest

Modified:
    camel/trunk/components/camel-spring/src/test/java/org/apache/camel/language/spel/SpringSimpleMultiLineExpressionTest.java

Modified: camel/trunk/components/camel-spring/src/test/java/org/apache/camel/language/spel/SpringSimpleMultiLineExpressionTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/language/spel/SpringSimpleMultiLineExpressionTest.java?rev=1460729&r1=1460728&r2=1460729&view=diff
==============================================================================
--- camel/trunk/components/camel-spring/src/test/java/org/apache/camel/language/spel/SpringSimpleMultiLineExpressionTest.java
(original)
+++ camel/trunk/components/camel-spring/src/test/java/org/apache/camel/language/spel/SpringSimpleMultiLineExpressionTest.java
Mon Mar 25 15:49:11 2013
@@ -20,9 +20,6 @@ import org.apache.camel.spring.SpringTes
 import org.springframework.context.support.AbstractXmlApplicationContext;
 import org.springframework.context.support.ClassPathXmlApplicationContext;
 
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.MatcherAssert.assertThat;
-
 public class SpringSimpleMultiLineExpressionTest extends SpringTestSupport {
 
     @Override
@@ -32,6 +29,6 @@ public class SpringSimpleMultiLineExpres
 
     public void testSimpleMultiLineExpression() {
         String result = template.requestBodyAndHeader("direct:start", "Camel", "h", "some
text", String.class);
-        assertThat(result, is("correct"));
+        assertEquals("correct", result);
     }
 }



Mime
View raw message