public static CoordinationPoint Make( bool firCopx = false, string coordinationPoint = null, string priorPoint = null, string nextPoint = null, string fromSector = null, string toSector = null, Definition definition = null ) { return(new Faker <CoordinationPoint>() .CustomInstantiator( _ => new CoordinationPoint( firCopx, priorPoint ?? FixFactory.RandomIdentifier(), "", coordinationPoint ?? FixFactory.RandomIdentifier(), nextPoint ?? FixFactory.RandomIdentifier(), "", fromSector ?? "AB", toSector ?? "CD", "6000", null, "TEST", definition ?? DefinitionFactory.Make(), DocblockFactory.Make(), CommentFactory.Make() ) )); }
public static CoordinationPoint MakeAirport( bool firCopx = false, string departureAirport = null, string departureRunway = null, string arrivalAirport = null, string arrivalRunway = null ) { return(new Faker <CoordinationPoint>() .CustomInstantiator( _ => new CoordinationPoint( firCopx, departureAirport ?? AirportFactory.GetRandomDesignator(), departureRunway ?? RunwayFactory.GetRandomDesignator(), FixFactory.RandomIdentifier(), arrivalAirport ?? AirportFactory.GetRandomDesignator(), arrivalRunway ?? RunwayFactory.GetRandomDesignator(), "AB", "CD", "6000", null, "TEST", DefinitionFactory.Make(), DocblockFactory.Make(), CommentFactory.Make() ) )); }