def METHOD_NAME(self):
    dbus_object = DummyDBusObject()
    self.device_collection.add(DEVICE1_ID, DEVICE1_SERIAL, dbus_object)
    self.assertIn(DEVICE1_ID, self.device_collection)
    self.device_collection.remove(DEVICE1_ID)
    self.assertNotIn(DEVICE1_ID, self.device_collection)
    self.device_collection.add(DEVICE1_ID, DEVICE1_SERIAL, dbus_object)
    self.assertIn(DEVICE1_ID, self.device_collection)
    self.device_collection.remove(DEVICE1_SERIAL)
    self.assertNotIn(DEVICE1_SERIAL, self.device_collection)