public void GetLengthTest() { StartDemountingToStreamConverter_Accessor target = new StartDemountingToStreamConverter_Accessor(); StartDemounting_Accessor parameter = new StartDemounting_Accessor(new PrivateObject(new StartDemounting { Size = WaferSize.Size8Inches, Count = 5, Station = DemountCassetteStation.Station1 }, new PrivateType(typeof(StartDemounting)))); Assert.AreEqual<int>(3, target.GetLength(parameter)); }