示例#1
0
        public void MissingResourceThrows(string script)
        {
            var result = new DbScript {
                XmlRoot = script
            };

            Assert.That(() => result.Load(), Throws.InstanceOf <MissingManifestResourceException>());
        }
示例#2
0
        public void MissingFileThrows(string script, string fileName)
        {
            var result = new DbScript {
                XmlRoot = script
            };

            Assert.That(() => result.Load(), Throws.InstanceOf <FileNotFoundException>());
        }
示例#3
0
    public void MissingResourceThrows(string script)
    {
      var result = new DbScript {XmlRoot = script};

      Assert.That(() => result.Load(), Throws.InstanceOf<MissingManifestResourceException>());
    }
示例#4
0
    public void MissingFileThrows(string script, string fileName)
    {
      var result = new DbScript {XmlRoot = script};

      Assert.That(() => result.Load(), Throws.InstanceOf<FileNotFoundException>());
    }