public FilePathsControllerTests()
 {
     filePath     = new FilePath();
     FilePathRepo = Substitute.For <IFilePathRepository>();
     underTest    = new FilePathsController(ProjectRepo, FilePathRepo, e);
     id           = 1;
 }
예제 #2
0
 public FilePathsController(IProjectRepository projectRepo, IFilePathRepository filePathRepo, IHostingEnvironment e)
 {
     this.projectRepo  = projectRepo;
     this.filePathRepo = filePathRepo;
     he = e;
 }