public void GetStreamTest()
        {
            EmptyCarrierPlateRoutingToStreamConverter_Accessor target = new EmptyCarrierPlateRoutingToStreamConverter_Accessor();

            Assert.AreEqual<string>("0001", target.GetStream(CarrierPlateRoutingType.BackThroughAwps));
            Assert.AreEqual<string>("0002", target.GetStream(CarrierPlateRoutingType.InspectionRequired));
        }
        public void CheckParameterTest()
        {
            EmptyCarrierPlateRoutingToStreamConverter_Accessor target1 = new EmptyCarrierPlateRoutingToStreamConverter_Accessor();
            Assert.AreEqual<bool>(true, target1.CheckParameter(CarrierPlateRoutingType.BackThroughAwps));

            EmptyCarrierPlateRoutingToStreamConverter_Accessor target2 = new EmptyCarrierPlateRoutingToStreamConverter_Accessor();
            Assert.AreEqual<bool>(true, target2.CheckParameter(CarrierPlateRoutingType.InspectionRequired));
        }
        public void CarrierPlateRoutingTypeToStreamTest()
        {
            EmptyCarrierPlateRoutingToStreamConverter privateTarget = new EmptyCarrierPlateRoutingToStreamConverter();
            EmptyCarrierPlateRoutingToStreamConverter_Accessor target = new EmptyCarrierPlateRoutingToStreamConverter_Accessor(new PrivateObject(privateTarget,
                                                                                           new PrivateType(typeof(EmptyCarrierPlateRoutingToStreamConverter))));

            Assert.AreEqual<string>("0001", target.CarrierPlateRoutingTypeToStream(CarrierPlateRoutingType.BackThroughAwps));
            Assert.AreEqual<string>("0002", target.CarrierPlateRoutingTypeToStream(CarrierPlateRoutingType.InspectionRequired));
        }
 public void GetLengthTest()
 {
     EmptyCarrierPlateRoutingToStreamConverter_Accessor target = new EmptyCarrierPlateRoutingToStreamConverter_Accessor();
     Assert.AreEqual<int>(1, target.GetLength(CarrierPlateRoutingType.BackThroughAwps));
 }
 public void CheckParameterThrowPlcException1Test()
 {
     EmptyCarrierPlateRoutingToStreamConverter_Accessor target = new EmptyCarrierPlateRoutingToStreamConverter_Accessor();
     target.CheckParameter(CarrierPlateRoutingType.Cleared);
 }