Issue 695: Used expected from setup method

This commit is contained in:
Jason King 2011-11-24 17:30:50 +00:00
parent 636dafe1d3
commit acb62e1cee
1 changed files with 0 additions and 3 deletions

View File

@ -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);
}