private AddApacheJmeterTestFileViewModel InvalidModel() { return(new AddApacheJmeterTestFileViewModel { Name = string.Empty, Description = string.Empty, TestUpload = ValidatorHelper.InvalidXmlString() }); }
private ApacheTestFileEditModel InvalidModel() { return(new ApacheTestFileEditModel { Id = Guid.Empty, DateTimeCreated = DateTime.UtcNow, Name = string.Empty, TestUpload = ValidatorHelper.InvalidXmlString() }); }
public void TestInvalidXml() { Assert.False(ValidatorHelper.InvalidXmlString().IsValidXml()); }