public void RefusalReasonNullThrows() { Assert.Throws <ArgumentNullException>(() => CompletedFinancialGuarantee.Refuse(AfterCompletionDate, null)); }
public void RefusalReasonIsSet() { CompletedFinancialGuarantee.Refuse(AfterCompletionDate, AnyString); Assert.Equal(AnyString, CompletedFinancialGuarantee.RefusalReason); }
public void RefusalReasonNullOrEmptyThrows(string refusalReason) { Assert.Throws <ArgumentException>(() => CompletedFinancialGuarantee.Refuse(AfterCompletionDate, refusalReason)); }