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

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