Пример #1
0
        public void AddAccount()
        {
            Account anAccount = new Account()
            {
                Phone      = "098 204 265",
                Balance    = 0,
                CountryTag = "UY"
            };

            aParking.AddAccount(anAccount);

            Assert.AreEqual(aParking.GetAllAccounts().Count(), 1);
            Assert.IsTrue(aParking.GetAllAccounts().Contains(anAccount));
        }