public void TestBuildFullFileNameForInCurrentDirectoryWithoutForcedFileExtension() { FileSystemController fileSystemController = new FileSystemController() { ForceFileExtensionOfFileFilter = false, FileFilterToApply = FileFilterHelper.ParseFileFilter("Test", "*.cs;*.xaml") }; fileSystemController.SelectDirectory(m_directory); string filename = fileSystemController.BuildFullFileNameForInCurrentDirectory("test.txt"); Assert.AreEqual($@"{m_directory}\test.txt", filename); }