public static bool TryCreate(string invoiceReferenceNumber, out InvoiceReferenceNumber result, out string failureReason)
        {
            var specification = new InvoiceReferenceNumberSpecification();
            if (specification.IsSatisfiedBy(invoiceReferenceNumber))
            {
                result = new InvoiceReferenceNumber(invoiceReferenceNumber);
                failureReason = string.Empty;
                return true;
            }

            result = null;
            failureReason = specification.GetReasonsForDissatisfactionSeparatedWithNewLine();
            return false;
        }
 private static void AssertDissatisfiedSpecification(int value)
 {
     var specification = new InvoiceReferenceNumberSpecification();
     Assert.IsFalse(specification.IsSatisfiedBy(value));
     Assert.IsFalse(string.IsNullOrWhiteSpace(specification.GetReasonsForDissatisfactionSeparatedWithNewLine()));
 }