示例#1
0
        public void HasExtension_PathSentIn_DeterminesExtension()
        {
            //Arrange
            var mockPath = new MockPath(new MockFileSystem());

            //Act
            var result = mockPath.HasExtension(TestPath);

            //Assert
            Assert.AreEqual(true, result);
        }
        public void HasExtension_PathSentIn_DeterminesExtension()
        {
            //Arrange
            MockPath mockPath = new MockPath(new MockFileSystem());

            //Act
            bool result = mockPath.HasExtension(s_testPath);

            //Assert
            Assert.Equal(true, result);
        }
        public void HasExtension_PathSentIn_DeterminesExtension()
        {
            //Arrange
            var mockPath = new MockPath(new MockFileSystem());

            //Act
            var result = mockPath.HasExtension(TestPath);

            //Assert
            Assert.AreEqual(true, result);
        }