diff --git a/spring-oxm/src/test/java/org/springframework/oxm/jibx/JibxMarshallerTests.java b/spring-oxm/src/test/java/org/springframework/oxm/jibx/JibxMarshallerTests.java index 79ff5747f7..32ba19acd9 100644 --- a/spring-oxm/src/test/java/org/springframework/oxm/jibx/JibxMarshallerTests.java +++ b/spring-oxm/src/test/java/org/springframework/oxm/jibx/JibxMarshallerTests.java @@ -43,6 +43,7 @@ public class JibxMarshallerTests extends AbstractMarshallerTests Assume.assumeTrue(System.getProperty("java.version").startsWith("1.8.")); } + @Override protected JibxMarshaller createMarshaller() throws Exception { JibxMarshaller marshaller = new JibxMarshaller(); @@ -60,6 +61,7 @@ public class JibxMarshallerTests extends AbstractMarshallerTests return flights; } + @Test(expected = IllegalArgumentException.class) public void afterPropertiesSetNoContextPath() throws Exception { JibxMarshaller marshaller = new JibxMarshaller(); diff --git a/spring-oxm/src/test/java/org/springframework/oxm/jibx/JibxUnmarshallerTests.java b/spring-oxm/src/test/java/org/springframework/oxm/jibx/JibxUnmarshallerTests.java index 03cf555dfb..39f5a66f00 100644 --- a/spring-oxm/src/test/java/org/springframework/oxm/jibx/JibxUnmarshallerTests.java +++ b/spring-oxm/src/test/java/org/springframework/oxm/jibx/JibxUnmarshallerTests.java @@ -71,6 +71,7 @@ public class JibxUnmarshallerTests extends AbstractUnmarshallerTests