public void ShouldCreditCheckGoodPerson()
        {
            var sut     = new CreditCheckerGateway();
            var results = sut.HasGoodCreditHistory("Maria");

            Assert.That(results, Is.True);
        }
        public void ShouldCreditCheckBadPerson()
        {
            var sut     = new CreditCheckerGateway();
            var results = sut.HasGoodCreditHistory("John");

            Assert.That(results, Is.False);
        }
コード例 #3
0
        public void ShouldCreditCheckBadPerson()
        {
            var sut = new CreditCheckerGateway();

            var isGoodCredit = sut.HasGoodCreditHistory("Amrit");

            Assert.That(isGoodCredit, Is.False);
        }
コード例 #4
0
        public void ShouldCreditCheckGoodPerson()
        {
            var sut = new CreditCheckerGateway();

            var isGoodCredit = sut.HasGoodCreditHistory("Jason");

            Assert.That(isGoodCredit, Is.True);
        }