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);
        }