public void FindAllWithPaging_NegativeSkip2Take3_3bonuses()
 {
     using (var dbContext = new DatabaseContext(TestUser, TestPass))
     {
         bonusRepository = new BonusesRepository(dbContext);
         bonusRepository.FindAllWithPaging(-2, 3);
     }
 }
        public void FindAllWithPaging_Skip2Take3_CorrectTotalCount()
        {
            IList<BonusAggregate> notSkipedBonuses;
            PagedResponse<BonusAggregate> skipedBonuses;

            using (var dbContext = new DatabaseContext(TestUser, TestPass))
            {
                bonusRepository = new BonusesRepository(dbContext);
                notSkipedBonuses = bonusRepository.FindAll();
                skipedBonuses = bonusRepository.FindAllWithPaging(2, 3);
            }
            Assert.AreEqual(skipedBonuses.TotalCount, notSkipedBonuses.Count);
        }