public void GetObjectCoolingWaterOutTempThrowsPclExceptionTest() { string stream = PlcHelper.GetPolishingStream(0).Substring(4, 220); stream = stream.Substring(0, 112) + "XXXX" + stream.Substring(116); PolisherStatusFromStreamConverter privateTarget = new PolisherStatusFromStreamConverter(); PolisherStatusFromStreamConverter_Accessor target = new PolisherStatusFromStreamConverter_Accessor(new PrivateObject(privateTarget, new PrivateType(typeof(PolisherStatusFromStreamConverter)))); target.GetObject(stream); }
public void GetObjectHighPressureDurationThrowsPclExceptionTest() { string stream = PlcHelper.GetPolishingStream(0).Substring(4, 220); stream = stream.Substring(0, 84) + "XXXX" + stream.Substring(88); PolisherStatusFromStreamConverter privateTarget = new PolisherStatusFromStreamConverter(); PolisherStatusFromStreamConverter_Accessor target = new PolisherStatusFromStreamConverter_Accessor(new PrivateObject(privateTarget, new PrivateType(typeof(PolisherStatusFromStreamConverter)))); target.GetObject(stream); }