def METHOD_NAME(self):
    self.dps[SWING_DPS] = False
    self.assertFalse(self.subject.oscillating)
    self.dps[SWING_DPS] = True
    self.assertTrue(self.subject.oscillating)
    self.dps[SWING_DPS] = None
    self.assertFalse(self.subject.oscillating)