public void SetUp() { fileScanner = new FileScanner(new FileSystem(new DefaultJsonParser())); rootPathProvider = A.Fake<IRootPathProvider>(); findModelFromViewCollection = A.Fake<IFindModelFromViewCollection>(); templateFinder = new FileSystemTemplateFinder(fileScanner, rootPathProvider, findModelFromViewCollection); A.CallTo(() => rootPathProvider.GetRoot()).Returns(GetRootPath()); }