'Test start/pause.'

def test_start_pause(self):

    device1 = _get_vacuum_device_charging()
    component1 = Dyson360EyeDevice(device1)
    component1.start_pause()
    self.assertTrue(device1.start.called)
    device2 = _get_vacuum_device_pause()
    component2 = Dyson360EyeDevice(device2)
    component2.start_pause()
    self.assertTrue(device2.resume.called)
    device3 = _get_vacuum_device_cleaning()
    component3 = Dyson360EyeDevice(device3)
    component3.start_pause()
    self.assertTrue(device3.pause.called)
