public void ProtocolLine_ToString() { ProtocolLine line = ProtocolLine.Parse ( "DBN=IBIS#MFN=2#AUTOIN=#UPDATE=0#STATUS=8#UPDUF=0#" ); Assert.AreEqual ( "DBN=IBIS#MFN=2#AUTOIN=#UPDATE=0#STATUS=8#UPDUF=0#", line.ToString() ); }
public void ToStringWithoutParametersShould_Produce_Semicolon_Separated_String() { ProtocolLine protocolLine = new ProtocolLine("Set;tagPath;tagValue;192"); Assert.AreEqual("Set;tagPath;tagValue;192", protocolLine.ToString()); }