From af641d5e387525bc6b875e9531e60ef5226e2ed9 Mon Sep 17 00:00:00 2001 From: Mark Pollack Date: Fri, 27 Mar 2009 03:03:46 +0000 Subject: [PATCH] remove use of assertThat which confused java compiler --- .../springframework/integration/config/ChainParserTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.springframework.integration/src/test/java/org/springframework/integration/config/ChainParserTests.java b/org.springframework.integration/src/test/java/org/springframework/integration/config/ChainParserTests.java index a7740bffc9..21b5b30074 100644 --- a/org.springframework.integration/src/test/java/org/springframework/integration/config/ChainParserTests.java +++ b/org.springframework.integration/src/test/java/org/springframework/integration/config/ChainParserTests.java @@ -122,7 +122,7 @@ public class ChainParserTests { this.beanInput.send(message); Message reply = this.output.receive(3000); assertNotNull(reply); - assertThat(reply, is(successMessage)); + assertEquals(reply, successMessage); } @Test @@ -132,7 +132,7 @@ public class ChainParserTests { this.aggregatorInput.send(message); Message reply = this.output.receive(3000); assertNotNull(reply); - assertThat((String)reply.getPayload(), is("foo")); + assertEquals("foo", reply.getPayload()); }