> +import org.jclouds.http.HttpRequest;
> +import org.jclouds.http.HttpResponse;
> +import org.jclouds.openstack.nova.v2_0.NovaApi;
> +import org.jclouds.openstack.nova.v2_0.domain.regionscoped.Hypervisor;
> +import org.jclouds.openstack.nova.v2_0.domain.regionscoped.HypervisorDetails;
> +import org.jclouds.openstack.nova.v2_0.internal.BaseNovaApiExpectTest;
> +import org.testng.annotations.Test;
> +
> +import static org.testng.Assert.assertEquals;
> +import static org.testng.Assert.assertFalse;
> +import static org.testng.Assert.assertTrue;
> +
> +@Test(groups = "unit", testName = "HypervisorApiExpectTest")
> +public class HypervisorApiExpectTest extends BaseNovaApiExpectTest {
> +
> + public void testWhenNamespaceInExtensionsListHypervisorPresent() throws
> Exception {
I am not sure about how i would go about introducing mock tests. It might
require more changes like introducing a base mock test to be more
comprehensive.
Since there are lot of expect tests here might make sense to do a refactor at a
later time as one change
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/819/files#r35073352