Polishing

This commit is contained in:
Juergen Hoeller 2016-07-25 17:43:58 +02:00
parent 87a89c216c
commit 3ab86c10c9
2 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,7 @@ public class JibxMarshallerTests extends AbstractMarshallerTests<JibxMarshaller>
Assume.assumeTrue(System.getProperty("java.version").startsWith("1.8.")); Assume.assumeTrue(System.getProperty("java.version").startsWith("1.8."));
} }
@Override @Override
protected JibxMarshaller createMarshaller() throws Exception { protected JibxMarshaller createMarshaller() throws Exception {
JibxMarshaller marshaller = new JibxMarshaller(); JibxMarshaller marshaller = new JibxMarshaller();
@ -60,6 +61,7 @@ public class JibxMarshallerTests extends AbstractMarshallerTests<JibxMarshaller>
return flights; return flights;
} }
@Test(expected = IllegalArgumentException.class) @Test(expected = IllegalArgumentException.class)
public void afterPropertiesSetNoContextPath() throws Exception { public void afterPropertiesSetNoContextPath() throws Exception {
JibxMarshaller marshaller = new JibxMarshaller(); JibxMarshaller marshaller = new JibxMarshaller();

View File

@ -71,6 +71,7 @@ public class JibxUnmarshallerTests extends AbstractUnmarshallerTests<JibxMarshal
assertEquals("Number is invalid", 42L, flight.getNumber()); assertEquals("Number is invalid", 42L, flight.getNumber());
} }
@Test @Test
@Override @Override
public void unmarshalPartialStaxSourceXmlStreamReader() throws Exception { public void unmarshalPartialStaxSourceXmlStreamReader() throws Exception {