コード例 #1
0
	public void InstantiateWithEmptyListRaisesMissingDeviceException()
	{
	  var emptyDeviceList = new List<IHidDevice>();
	  ISwitchable TrafficLight = new ClearwareAmpel(emptyDeviceList);
	}
コード例 #2
0
	public void CanInstantiateWithSingleObject()
	{
	  var device = new Mock<IHidDevice>();
	  ISwitchable TrafficLight = new ClearwareAmpel(device.Object);
	}