public void OioxmlInvalidEanNumberInvoiceValidation() { DocumentTypeConfig documentType = _defaultDocumentTypes.GetOioXmlInvoiceV07(); Assert.Throws <SchematronErrorException>(() => Validate(TestConstants.PATH_INVOICEN7INVALIDEANNUMBER_XML, documentType)); }