}
Bus bus = new Bus();
SeatRow rowA = new SeatRow();
rowA.setRowName("A");
Seat seatA1 = new Seat();
seatA1.setNumber(1);
Seat seatA2 = new Seat(); //empty element
Seat seatA3 = new Seat();
seatA3.setNumber(3);
rowA.setSeats(Arrays.asList(seatA1, seatA2, seatA3));
bus.setSeatRows(Arrays.asList(rowA));
bus = processThroughXml(bus);
assertNotNull(bus.getSeatRows());
assertEquals(1, bus.getSeatRows().size());