Пример #1
0
        public void ClaimDequeue_ShouldDequeue()
        {
            ClaimsContent     content = new ClaimsContent();
            ClaimsContentRepo repo    = new ClaimsContentRepo();

            bool wasDequeued = repo.ClaimDequeue(content);

            Assert.IsTrue(wasDequeued);
        }
Пример #2
0
        private void TakeCareOfClaim()
        {
            ClaimsContent upNext = _claimsRepo.NextClaim();

            Console.WriteLine("Do you want to deal with this claim now?(y/n)");
            string userinput = Console.ReadLine();

            if (userinput.ToLower() == "y")
            {
                _claimsRepo.ClaimDequeue();
            }
            if (userinput.ToLower() == "n")
            {
            }
        }