public void CheckParameterShortStreamThrowsPclExceptionTest()
        {
            string stream = "".PadLeft(23, '0');

            PolishingStatusFromStreamConverter privateTarget = new PolishingStatusFromStreamConverter();
            PolishingStatusFromStreamConverter_Accessor target = new PolishingStatusFromStreamConverter_Accessor(new PrivateObject(privateTarget, new PrivateType(typeof(PolishingStatusFromStreamConverter))));
            target.CheckParameter(stream);
        }
 public void ParsePolisherStateThrowsPlcException2Test()
 {
     PolishingStatusFromStreamConverter privateTarget = new PolishingStatusFromStreamConverter();
     PolishingStatusFromStreamConverter_Accessor target = new PolishingStatusFromStreamConverter_Accessor(new PrivateObject(privateTarget, new PrivateType(typeof(PolishingStatusFromStreamConverter))));
     target.ParsePolisherState("0008");
 }
 public void ParsePolisherState2Test()
 {
     PolishingStatusFromStreamConverter privateTarget = new PolishingStatusFromStreamConverter();
     PolishingStatusFromStreamConverter_Accessor target = new PolishingStatusFromStreamConverter_Accessor(new PrivateObject(privateTarget, new PrivateType(typeof(PolishingStatusFromStreamConverter))));
     Assert.AreEqual<PolisherState>(PolisherState.Pause, target.ParsePolisherState("0005"));
 }
 public void GetObjectState2ThrowsPclExceptionTest()
 {
     PolishingStatusFromStreamConverter privateTarget = new PolishingStatusFromStreamConverter();
     PolishingStatusFromStreamConverter_Accessor target = new PolishingStatusFromStreamConverter_Accessor(new PrivateObject(privateTarget, new PrivateType(typeof(PolishingStatusFromStreamConverter))));
     target.GetObject("000100000001000100050008");
 }