public void SetUp() { textReader = A.Fake <ITextReader>(); wordsFilter = A.Fake <IWordsFilter>(); wordsCounter = A.Fake <IWordsCounter>(); wordsToSizesConverter = A.Fake <IWordsToSizesConverter>(); ccl = A.Fake <ICloudLayouter>(); visualiser = A.Fake <IVisualiser>(); imageSaver = A.Fake <IFileSaver>(); }
public TagsCloudContainer(ITextReader textReader, IWordsFilter wordsFilter, IWordsCounter wordsCounter, IWordsToSizesConverter wordsToSizesConverter, ICloudLayouter ccl, IVisualiser visualiser, IFileSaver fileSaver, string output, string input ) { this.textReader = textReader; this.wordsFilter = wordsFilter; this.wordsCounter = wordsCounter; this.wordsToSizesConverter = wordsToSizesConverter; CCL = ccl; this.visualiser = visualiser; outputFile = output; inputFile = input; imageSaver = fileSaver; }