Beispiel #1
0
        public void GetAllAirLineCompanies()
        {
            FlyingCenterSystem     fs         = FlyingCenterSystem.Instance;
            IAnonymousUserFacade   iAnonym    = fs.GetFacade <IAnonymousUserFacade>();
            IList <AirLineCompany> list       = iAnonym.GetAllAirLineCompanies();
            AirLineCompany         comp1      = new AirLineCompany(1, "BramnikAirLineCompany", "BramnikAdmin", "bramnik", 1);
            AirLineCompany         comp2      = new AirLineCompany(2, "KramnikAirLineCompany", "KramnikAdmin", "kramnik", 1);
            List <AirLineCompany>  originList = new List <AirLineCompany>()
            {
                comp1, comp2
            };
            bool actual = list.SequenceEqual(originList);

            Assert.IsTrue(actual);
        }