// A class with the only goal of simulating a dependency on UnicodeFileToHtmTextConverter // that has impact on the refactoring. public aTextConverterClient1() { var filename = "aFilename.txt"; var textConverter = new UnicodeFileToHtmTextConverter.UnicodeFileToHtmTextConverter(filename); var html = textConverter.ConvertToHtml(); }
public aTextConverterClient2() { _textConverter = new TDDMicroExercises.OneSolution.UnicodeFileToHtmTextConverter.UnicodeFileToHtmTextConverter("anotherFilename.txt"); var html = _textConverter.ConvertToHtml(); }