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