コード例 #1
0
        public void Can_get_all_destination()
        {
            IAccountRepository repository = new AccountRepository();
            var fromDb = repository.GetAllDestination();

            Assert.AreEqual(3, fromDb.Count);
            Assert.IsTrue(IsInCollection(_account1, fromDb));
            Assert.IsTrue(IsInCollection(_account2, fromDb));
            Assert.IsTrue(IsInCollection(_account4, fromDb));
        }