def METHOD_NAME(self):
    self.dps[ACTION_DPS] = "opening"
    self.dps[CURRENTPOS_DPS] = 100
    self.assertFalse(self.subject.is_opening)
    self.dps[CURRENTPOS_DPS] = 50
    self.assertTrue(self.subject.is_opening)
    self.dps[ACTION_DPS] = "closing"
    self.assertFalse(self.subject.is_opening)
    self.dps[ACTION_DPS] = "opening"
    self.dps[CURRENTPOS_DPS] = None
    self.assertFalse(self.subject.is_opening)