From a0d6b5b569a20836184634793f408ab92d9aee40 Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Thu, 4 Nov 2010 13:00:50 +0000 Subject: [PATCH] Fixing build --- .../ws/test/client/MockWebServiceServerTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/src/test/java/org/springframework/ws/test/client/MockWebServiceServerTest.java b/test/src/test/java/org/springframework/ws/test/client/MockWebServiceServerTest.java index ffe02b14..2598ae2f 100644 --- a/test/src/test/java/org/springframework/ws/test/client/MockWebServiceServerTest.java +++ b/test/src/test/java/org/springframework/ws/test/client/MockWebServiceServerTest.java @@ -26,7 +26,6 @@ import javax.xml.soap.MessageFactory; import javax.xml.transform.Source; import javax.xml.transform.TransformerException; -import org.springframework.beans.factory.BeanInitializationException; import org.springframework.context.support.StaticApplicationContext; import org.springframework.core.io.ByteArrayResource; import org.springframework.core.io.Resource; @@ -101,7 +100,7 @@ public class MockWebServiceServerTest { assertNotNull(server); } - @Test(expected = BeanInitializationException.class) + @Test(expected = IllegalArgumentException.class) public void createServerApplicationContextEmpty() throws Exception { StaticApplicationContext applicationContext = new StaticApplicationContext(); applicationContext.refresh();