From acb62e1ceee84f99e3cf321958ee6bdc2140f561 Mon Sep 17 00:00:00 2001 From: Jason King Date: Thu, 24 Nov 2011 17:30:50 +0000 Subject: [PATCH] Issue 695: Used expected from setup method --- .../ReturnEmptyVirtualMachinesOnNotFoundOr404Test.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/sandbox-providers/tmrk-enterprisecloud/src/test/java/org/jclouds/tmrk/enterprisecloud/functions/ReturnEmptyVirtualMachinesOnNotFoundOr404Test.java b/sandbox-providers/tmrk-enterprisecloud/src/test/java/org/jclouds/tmrk/enterprisecloud/functions/ReturnEmptyVirtualMachinesOnNotFoundOr404Test.java index 370687ca8d..0021225309 100644 --- a/sandbox-providers/tmrk-enterprisecloud/src/test/java/org/jclouds/tmrk/enterprisecloud/functions/ReturnEmptyVirtualMachinesOnNotFoundOr404Test.java +++ b/sandbox-providers/tmrk-enterprisecloud/src/test/java/org/jclouds/tmrk/enterprisecloud/functions/ReturnEmptyVirtualMachinesOnNotFoundOr404Test.java @@ -45,17 +45,14 @@ public class ReturnEmptyVirtualMachinesOnNotFoundOr404Test { } public void testOn404() { - VirtualMachines expected = VirtualMachines.builder().build(); assertEquals(function.apply(new HttpResponseException("response exception", null, new HttpResponse(404, "404 message", null))), expected); } public void testOnNotFound() { - VirtualMachines expected = VirtualMachines.builder().build(); assertEquals(function.apply(new ResourceNotFoundException()),expected); } public void testOnNotFoundChained() { - VirtualMachines expected = VirtualMachines.builder().build(); assertEquals(function.apply(new RuntimeException(new ResourceNotFoundException())),expected); }