Example #1
0
 public void RefusalReasonNullThrows()
 {
     Assert.Throws <ArgumentNullException>(() => CompletedFinancialGuarantee.Refuse(AfterCompletionDate, null));
 }
Example #2
0
        public void RefusalReasonIsSet()
        {
            CompletedFinancialGuarantee.Refuse(AfterCompletionDate, AnyString);

            Assert.Equal(AnyString, CompletedFinancialGuarantee.RefusalReason);
        }
Example #3
0
 public void RefusalReasonNullOrEmptyThrows(string refusalReason)
 {
     Assert.Throws <ArgumentException>(() => CompletedFinancialGuarantee.Refuse(AfterCompletionDate, refusalReason));
 }