Example #1
0
        public void GetFileName_SendInPath_ReturnsFilename()
        {
            //Arrange
            var mockPath = new MockPath(new MockFileSystem());

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

            //Assert
            Assert.AreEqual("test.bmp", result);
        }
        public void GetFileName_SendInPath_ReturnsFilename()
        {
            //Arrange
            MockPath mockPath = new MockPath(new MockFileSystem());

            //Act
            string result = mockPath.GetFileName(s_testPath);

            //Assert
            Assert.Equal("test.bmp", result);
        }
        public void GetFileName_SendInPath_ReturnsFilename()
        {
            //Arrange
            var mockPath = new MockPath(new MockFileSystem());

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

            //Assert
            Assert.AreEqual("test.bmp", result);
        }