	@Test
	public void doNothingWhenLeftingAnUnkownDevice() throws Exception {

		NetworkDevice leavingGuy = networkDevice("ADDR_UNKNOWN", "UNEXISTANT");
		assertEquals(1, dao.list().size());
		UpDriver driver = new UpDriver("DD");
		driver.addService("s");
		driverDao
				.insert(new DriverModel("id1", driver, currentDevice.getName()));
		driverDao
				.insert(new DriverModel("id2", driver, currentDevice.getName()));
		assertEquals(2, driverDao.list().size());

		deviceManager.deviceLeft(leavingGuy);
		assertEquals(1, dao.list().size());
		assertEquals(2, driverDao.list().size());
	}