public async Task CheckConnectionWrongKeyTest() { IHueClient client = new HueClient(ConfigurationManager.AppSettings["ip"].ToString(), "wrongkey123"); var result = await client.CheckConnection(); Assert.IsFalse(result); }
public async Task CheckConnectionWrongIpTest() { IHueClient client = new HueClient("42.1.1.1", ConfigurationManager.AppSettings["key"].ToString()); var result = await client.CheckConnection(); Assert.IsFalse(result); }