diff --git a/org.springframework.oxm/src/test/java/org/springframework/oxm/jaxb/Jaxb2MarshallerTests.java b/org.springframework.oxm/src/test/java/org/springframework/oxm/jaxb/Jaxb2MarshallerTests.java index a0eef4c7801..963de2d6cef 100644 --- a/org.springframework.oxm/src/test/java/org/springframework/oxm/jaxb/Jaxb2MarshallerTests.java +++ b/org.springframework.oxm/src/test/java/org/springframework/oxm/jaxb/Jaxb2MarshallerTests.java @@ -66,7 +66,7 @@ public class Jaxb2MarshallerTests extends AbstractMarshallerTests { FlightType flight = new FlightType(); flight.setNumber(42L); flights = new Flights(); - flights.getFlight().configureBinding(flight); + flights.getFlight().add(flight); return flights; }