public void InstantiateWithEmptyListRaisesMissingDeviceException() { var emptyDeviceList = new List<IHidDevice>(); ISwitchable TrafficLight = new ClearwareAmpel(emptyDeviceList); }
public void CanInstantiateWithSingleObject() { var device = new Mock<IHidDevice>(); ISwitchable TrafficLight = new ClearwareAmpel(device.Object); }