Beispiel #1
0
        public void TestDisconnectWire_SinkTerminalDataSetToNull()
        {
            var wire = new WireModel(_outputTerminalMoq.Object, _inputTerminalMoq.Object);

            wire.DisconnectWire();
            _inputTerminalMoq.VerifySet(m => m.Data = null);
        }
Beispiel #2
0
        public void TestDisconnectWire_SinkTerminalDisconnected()
        {
            var wire = new WireModel(_outputTerminalMoq.Object, _inputTerminalMoq.Object);

            wire.DisconnectWire();
            _inputTerminalMoq.Verify(m => m.DisconnectWire(wire));
        }