示例#1
0
        public void TestCount(int count)
        {
            var account = AccountFactory.Create();

            for (int i = 0; i < count; i++)
            {
                InterestFactory.Create(x => x.Account = account);
            }

            Assert.AreEqual(count, _repository.Count());
        }