From 4aa2346b261c3f910be623a86adb1f4a6bd202bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Jahrei=C3=9F?= Date: Fri, 21 Oct 2016 10:30:33 +0200 Subject: [PATCH] #39 - Removed unnecessary check from MarathonDeployerTest. --- .../qaware/cloud/deployer/marathon/MarathonDeployerTest.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/deployer-marathon/src/test/java/de/qaware/cloud/deployer/marathon/MarathonDeployerTest.java b/deployer-marathon/src/test/java/de/qaware/cloud/deployer/marathon/MarathonDeployerTest.java index bab59e7f..0eef6b84 100644 --- a/deployer-marathon/src/test/java/de/qaware/cloud/deployer/marathon/MarathonDeployerTest.java +++ b/deployer-marathon/src/test/java/de/qaware/cloud/deployer/marathon/MarathonDeployerTest.java @@ -94,9 +94,7 @@ public void testDeploy() throws Exception { // Verify resources were called correctly verify(environmentConfig, times(1)).getStrategy(); - verify(marathonResourceConfigFactory, times(1)).createConfigs(any()); verify(marathonResourceConfigFactory, times(1)).createConfigs(files); - verify(marathonResourceFactory, times(1)).createResources(any()); verify(marathonResourceFactory, times(1)).createResources(configs); verify(resource1, times(1)).exists(); verify(resource2, times(1)).exists(); @@ -112,9 +110,7 @@ public void testDelete() throws Exception { // Verify resources were called correctly verify(environmentConfig, times(1)).getStrategy(); - verify(marathonResourceConfigFactory, times(1)).createConfigs(any()); verify(marathonResourceConfigFactory, times(1)).createConfigs(files); - verify(marathonResourceFactory, times(1)).createResources(any()); verify(marathonResourceFactory, times(1)).createResources(configs); verify(resource1, times(1)).exists(); verify(resource2, times(1)).exists();