void CreateScript() { fakeScriptFileName = new FakePackageScriptFileName(); fakeSession = new FakePackageScriptSession(); fakePackage = new FakePackage(); script = new PackageInitializeScript(fakePackage, fakeScriptFileName); }
void CreateScript() { fakeFileSystem = new FakeFileSystem(); fakeFileSystem.FileExistsReturnValue = true; fakeFileSystem.DirectoryExistsReturnValue = true; scriptFileName = new PackageInstallScriptFileName(fakeFileSystem); fakeSession = new FakePackageScriptSession(); fakePackage = new FakePackage(); script = new PackageInstallScript(fakePackage, scriptFileName); }
void CreateScripts(IPackageScriptFactory scriptFactory) { fakeSolutionPackageRepository = new FakeSolutionPackageRepository(); fakeSession = new FakePackageScriptSession(); scripts = new PackageInitializationScripts(fakeSolutionPackageRepository, scriptFactory); }