generate nuget commands without BuildProcesses
[teamcity/dotNetPackagesSupport.git] / nuget-tests / src / jetbrains / buildServer / nuget / tests / agent / NuGetUpdatePackageActionFactoryTest.java
index d175827fc24cd7ceaeac4a1b59cb5910e9d6cbee..4ac392cae6473d272920173ad53adec61431a505 100644 (file)
@@ -19,6 +19,7 @@ package jetbrains.buildServer.nuget.tests.agent;
 import jetbrains.buildServer.BaseTestCase;\r
 import jetbrains.buildServer.RunBuildException;\r
 import jetbrains.buildServer.agent.BuildRunnerContext;\r
+import jetbrains.buildServer.nuget.agent.commands.impl.CommandFactoryImpl;\r
 import jetbrains.buildServer.nuget.agent.install.PackageUsages;\r
 import jetbrains.buildServer.nuget.agent.parameters.NuGetFetchParameters;\r
 import jetbrains.buildServer.nuget.agent.parameters.PackagesUpdateParameters;\r
@@ -55,7 +56,7 @@ public class NuGetUpdatePackageActionFactoryTest extends BaseTestCase {
     m = new Mockery();\r
     myProcessFactory = m.mock(CommandlineBuildProcessFactory.class);\r
     PackageUsages pu = m.mock(PackageUsages.class);\r
-    i = new NuGetActionFactoryImpl(myProcessFactory, pu);\r
+    i = new NuGetActionFactoryImpl(myProcessFactory, pu, new CommandFactoryImpl());\r
     ctx = m.mock(BuildRunnerContext.class);\r
     ps = m.mock(PackagesUpdateParameters.class);\r
     nugetParams = m.mock(NuGetFetchParameters.class);\r