Пример #1
0
        public void GetFullPathForFile_should_return_full_path_for_filename()
        {
            // Arrange
            string expectedPath = Path.Combine(Directory.GetCurrentDirectory(), "myfile.txt");

            // Act
            string actualPath = ConfigFileReader.GetFullPathForFile("myfile.txt");

            // Assert
            Assert.That(actualPath, Is.EqualTo(expectedPath));
        }