protected override void Arrange() { base.Arrange(); base.Act(); TransferInformation.Stub(x => x.Destination).Return(Destination); TransferInformation.Stub(x => x.Source).Return(Source); FileExcluder.Stub(x => x.ReadAndExclude(AcceptedExtensions, Source)).Return(Files); info = String.Format("Files copied from location {0} to location {1}", Source, Destination); }
protected override void Act() { Sut = new FileExcluder(FileReader,Excluder); }
protected override void Act() { Sut = new FileExcluder(FileReader, Excluder); }
public FileTransferExecuter(FileExcluder fileExcluder, Copier copier, ConsoleImpl consoleImpl) { _readAndExclude = fileExcluder; _copier = copier; _consoleImpl = consoleImpl; }