public void BasicRemote_Case_Power() { IDevice device = new TV(102, 2); var basicRemote = new BasicRemote(device); basicRemote.Power(); Assert.True(device.IsEnabled()); }
public void TV_Case_IsEnabled() { var tv = new TV(10, 15); tv.Enable(); bool isEnabled = tv.IsEnabled(); Assert.True(isEnabled); }