예제 #1
0
        public void CanIdentifyValidCreditorReferences(string creditorReference)
        {
            Assert.True(CreditorReference.IsValid(creditorReference));
            var rf = CreditorReference.Parse(creditorReference);

            Assert.True(rf != null);
        }
예제 #2
0
 public void CanIdentifyInvalidCreditorReferences(string creditorReference)
 {
     Assert.False(CreditorReference.IsValid(creditorReference));
     Assert.Throws <FormatException>(() => CreditorReference.Parse(creditorReference));
 }