Cleanup merge mistakes

This commit is contained in:
John Burwell 2016-11-17 00:09:56 -05:00
parent c66cf1c60d
commit 5cc9070b0b

View File

@ -30,8 +30,6 @@ import static org.mockito.Mockito.times;
import java.util.ArrayList;
import static org.powermock.api.mockito.PowerMockito.whenNew;
import static org.powermock.api.mockito.PowerMockito.whenNew;
import java.util.Arrays;
import java.util.EnumMap;
import java.util.HashMap;
@ -341,12 +339,6 @@ public class VmwareResourceTest {
_resource.findVmOnDatacenter(context, hyperHost, volume);
}
@Test(expected=CloudRuntimeException.class)
public void testFindVmOnDatacenterNullHyperHostReference() throws Exception {
when(hyperHost.getMor()).thenReturn(null);
_resource.findVmOnDatacenter(context, hyperHost, volume);
}
@Test
public void testFindVmOnDatacenter() throws Exception {
when(hyperHost.getHyperHostDatacenter()).thenReturn(mor);