public async void return_true_on_start_one_light() { var lightsManager = new LightsManager(_client); await lightsManager.RetrieveLights(); var lights = lightsManager.Lights; var result = await lightsManager.StartLight(lights.First()); Check.That(result).IsEqualTo(StateLight.On); }
public async void return_on_or_state_on_one_light() { var lightsManager = new LightsManager(_client); await lightsManager.RetrieveLights(); var lights = lightsManager.Lights; await lightsManager.StartLight(lights.First()); var state = await lightsManager.GetStateOfLight(lights.First()); Check.That(state).IsEqualTo(StateLight.On); }