def METHOD_NAME(self):
    self.dps[PRESET_DPS] = "sleep"
    self.assertEqual(self.subject.mode, MODE_SLEEP)
    self.dps[PRESET_DPS] = "humidity"
    self.assertEqual(self.subject.mode, MODE_AUTO)
    self.dps[PRESET_DPS] = "work"
    self.assertEqual(self.subject.mode, MODE_NORMAL)
    self.dps[PRESET_DPS] = None
    self.assertEqual(self.subject.mode, None)