public void Invoke_LightingMessage_ToString_With_GetStatus_11() { var message = new LightingMessage(); message.Message = LIGHT_11_GETSTATUS; message.What = LightingWhat.GetStatus; message.Where = Where.GetWhere("11"); Assert.AreEqual(message.ToString(), LIGHT_11_GETSTATUS); }
public void Invoke_LightingMessage_ToString_With_Light_11_OFF() { var message = new LightingMessage(); message.Message = LIGHT_11_OFF; message.What = LightingWhat.LightOFF; message.Where = Where.GetWhere("11"); Assert.AreEqual(message.ToString(), LIGHT_11_OFF); }
public void Invoke_LightMessage_ToString_With_Dimmer_Strenght_30() { var message = new LightingMessage(); message.What = LightingWhat.DimmerStrenght; message.DimmerStrenght = 30; message.Where = Where.GetWhere("11"); message.Message = LIGHT_11_DIMMER_STRENGHT; Assert.AreEqual(message.ToString(), LIGHT_11_DIMMER_STRENGHT); }
public void Invoke_LightingMessage_ToString_With_Light_11_ON_At_Speed_100() { var message = new LightingMessage(); message.Message = LIGHT_11_ON_AT_SPEED_100; message.What = LightingWhat.LightOnAtSpeed; message.Speed = 100; message.Where = Where.GetWhere("11"); Assert.AreEqual(message.ToString(), LIGHT_11_ON_AT_SPEED_100); }