public void IsConnectedTest() { mockSimplicitiDriver.Expect(m => m.PortOpen).Return(true); accessPoint.Open(); Assert.AreEqual <bool>(accessPoint.IsConnected(), true); }