From 84543c968895b56cf492578f35985d6487fd4dac Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Tue, 1 Feb 2011 17:00:11 -0500 Subject: [PATCH] polishing fixed test in GatewayRequestReplyTests.timedOutGateway() --- .../integration/gateway/GatewayRequiresReplyTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-integration-core/src/test/java/org/springframework/integration/gateway/GatewayRequiresReplyTests.java b/spring-integration-core/src/test/java/org/springframework/integration/gateway/GatewayRequiresReplyTests.java index f128df7116..c392c495b4 100644 --- a/spring-integration-core/src/test/java/org/springframework/integration/gateway/GatewayRequiresReplyTests.java +++ b/spring-integration-core/src/test/java/org/springframework/integration/gateway/GatewayRequiresReplyTests.java @@ -16,6 +16,7 @@ package org.springframework.integration.gateway; +import static junit.framework.Assert.assertNull; import static org.junit.Assert.assertEquals; import org.junit.Test; @@ -56,7 +57,7 @@ public class GatewayRequiresReplyTests { public void timedOutGateway() { TestService gateway = (TestService) applicationContext.getBean("timeoutGateway"); String result = gateway.test("hello"); - System.out.println("Result: " + result); + assertNull(result); }