public void TestDialModem()
        {
            var dialModem = new DedModemController(new ZhongxingModem());
            Assert.IsFalse(dialModem.Connected);

            dialModem.Dial();
            Assert.IsFalse(dialModem.Connected);

            dialModem.Hangup();
            Assert.IsFalse(dialModem.Connected);
        }
예제 #2
0
        public void TestDialModem()
        {
            var dialModem = new DedModemController(new ZhongxingModem());

            Assert.IsFalse(dialModem.Connected);

            dialModem.Dial();
            Assert.IsFalse(dialModem.Connected);

            dialModem.Hangup();
            Assert.IsFalse(dialModem.Connected);
        }