public void Test_Start_Success_NotRunning() { // arrange var target = new BluetoothSPPServer(); // act target.Start(); // assert Assert.AreEqual(true, target.Running); }
public void Test_Stop_Success_AlreadyRunning() { // arrange var target = new BluetoothSPPServer(); // act target.Start(); target.Stop(); // assert Assert.AreEqual(false, target.Running); }