Пример #1
0
 public void DeserializeXML_DuplicateURLS_Throws()
 {
     XMLDeserIntTestHelper.CreateTestXML(false);
     Assert.Throws <FileLoadException>(() => DeserializerFactory.Create(collectionContainsUniqueURLS: false));
 }
Пример #2
0
 public void DeserializeXML_FileNotExists_Throws()
 {
     Assert.Throws <FileNotFoundException>(() => DeserializerFactory.Create(aFileExists: false));
 }
Пример #3
0
 public void DeserializeXML_FilesNotValid_Throws()
 {
     Assert.Throws <XmlException>(() => DeserializerFactory.Create(filesValid: false));
 }
Пример #4
0
 public void DeserializeXML_DirectoryNotExists_Throws()
 {
     Assert.Throws <DirectoryNotFoundException>(() => DeserializerFactory.Create(directoryExists: false));
 }