Example #1
0
        public async void return_true_on_stop_one_light()
        {
            var lightsManager = new LightsManager(_client);
            await lightsManager.RetrieveLights();

            var lights = lightsManager.Lights;
            var result = await lightsManager.StopLight(lights.First());

            Check.That(result).IsEqualTo(StateLight.Off);
        }