Exemplo n.º 1
0
        public void CheckFileExists_FileExists_ReturnTrue()
        {
            var target = new XmlService();

            bool result = target.CheckFileExists(filePath);

            Assert.IsTrue(result);
        }
Exemplo n.º 2
0
        public void CheckFileExists_FileNotExists_ReturnFalse()
        {
            var target = new XmlService();

            bool result = target.CheckFileExists("xxx");

            Assert.IsFalse(result);
        }