@ -181,7 +181,6 @@ public class CastorUnmarshallerTests extends AbstractUnmarshallerTests<CastorMar
@@ -181,7 +181,6 @@ public class CastorUnmarshallerTests extends AbstractUnmarshallerTests<CastorMar
}
@Test
@Ignore("Fails on the build server for some reason")
publicvoidclearCollectionsFalse()throwsException{
Flightsflights=newFlights();
flights.setFlight(newFlight[]{newFlight(),null});
@ -190,8 +189,7 @@ public class CastorUnmarshallerTests extends AbstractUnmarshallerTests<CastorMar
@@ -190,8 +189,7 @@ public class CastorUnmarshallerTests extends AbstractUnmarshallerTests<CastorMar
Objectresult=unmarshalFlights();
assertSame("Result Flights is different object.",flights,result);
assertEquals("Result Flights has incorrect number of Flight.",3,((Flights)result).getFlightCount());
assertNull("Flight shouldn't have number.",flights.getFlight(0).getNumber());
assertEquals("Result Flights has incorrect number of Flights.",3,((Flights)result).getFlightCount());
assertNull("Null Flight was expected.",flights.getFlight()[1]);