private AddApacheJmeterTestFileViewModel InvalidModel()
 {
     return(new AddApacheJmeterTestFileViewModel
     {
         Name = string.Empty,
         Description = string.Empty,
         TestUpload = ValidatorHelper.InvalidXmlString()
     });
 }
示例#2
0
 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());
 }