Example #1
0
 public void CannotFindCOMPortTest()
 {
     mockSimplicitiDriver.Expect(m => m.PortOpen).Return(false);
     mockSimplicitiDriver.Stub(m => m.GetComPortName()).Return("");
     accessPoint.Open();
 }