Ejemplo n.º 1
0
 public Manager(IConsoleReader consoleReader, IConsoleWrapper consoleWrapper, ITriangleGenerator triangleGenerator, IFileWritter fileWritter)
 {
     _consoleReader     = consoleReader;
     _consoleWrapper    = consoleWrapper;
     _triangleGenerator = triangleGenerator;
     _fileWritter       = fileWritter;
 }
Ejemplo n.º 2
0
 public FileJobLogger(IFileWritter fileWritter)
 {
     this.fileWritter = fileWritter;
 }
Ejemplo n.º 3
0
 public FileJobLogger(IFileWritter fileWritter)
 {
     this.fileWritter = fileWritter;
 }
Ejemplo n.º 4
0
 public FileWritterTests()
 {
     _consoleWrapperMock = new Mock <IConsoleWrapper>();
     _fileWrapperMock    = new Mock <IFileWrapper>();
     _sut = new FileWritter(_consoleWrapperMock.Object, _fileWrapperMock.Object);
 }