public void CheckReadWriteCommand5Test()
 {
     Mock privateTarget = new Mock<BaseSimulatorPlcCommunication>();
     BaseSimulatorPlcCommunication_Accessor target = new BaseSimulatorPlcCommunication_Accessor(new PrivateObject(privateTarget.Object, new PrivateType(typeof(BaseSimulatorPlcCommunication))));
     Assert.AreEqual<BaseSimulatorPlcCommunication_Accessor.Msg>(BaseSimulatorPlcCommunication_Accessor.Msg.ProtocolError, target.CheckReadWriteCommand("\u000100FFCR00012001" + target.CalculateCheckSum("00FFCR00012001")));
 }
 public void CalculateCheckSumTest()
 {
     Mock privateTarget = new Mock<BaseSimulatorPlcCommunication>();
     BaseSimulatorPlcCommunication_Accessor target = new BaseSimulatorPlcCommunication_Accessor(new PrivateObject(privateTarget.Object, new PrivateType(typeof(BaseSimulatorPlcCommunication))));
     Assert.AreEqual<string>("10", target.CalculateCheckSum("00FFABCDEFGH"));
 }