Exemplo n.º 1
0
        public void MissingResourceThrows(string script)
        {
            var result = new DbScript {
                XmlRoot = script
            };

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

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

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

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