@Test
public void testGetBus() {

	List<String> busList = new ArrayList<String>();
	busList.add(new String("Motor"));
	busList.add(new String("Instrumentation"));
	busList.add(new String("Comfort"));
	List<String> msgList = new ArrayList<String>();
	msgList.add(new String("Airbag"));
	msgList.add(new String("ABS"));
	msgList.add(new String("CruiseControlStatus"));
	msgList.add(new String("Emission"));
	msgList.add(new String("SteeringInfo"));
	msgList.add(new String("AntiTheft"));
	msgList.add(new String("Gear"));
	msgList.add(new String("Headlights"));
	msgList.add(new String("Wiper"));
	msgList.add(new String("BCC"));
	msgList.add(new String("TankController"));
	msgList.add(new String("ParksensorFront"));
	msgList.add(new String("ParksensorBack"));
	msgList.add(new String("Temperature"));
	msgList.add(new String("AirCondition"));
	msgList.add(new String("FrontLeftDoor"));
	msgList.add(new String("FrontRightDoor"));
	msgList.add(new String("BackLeftDoor"));
	msgList.add(new String("BackRightDoor"));
	msgList.add(new String("TrunkLid"));
	msgList.add(new String("DriverSeat"));
	msgList.add(new String("CodriverSeat"));
	msgList.add(new String("Radio"));
	msgList.add(new String("Navigation"));
	msgList.add(new String("DateTime"));
	for (Bus b : netdef.getBus()) {
		assertTrue("Unexpected bus", busList.contains(b.getName()));
		for (Message m : b.getMessage()) {
			assertTrue("Unexpected message", msgList.contains(m.getName()));
		}
	}
}