@GET default public HostNic doGet() { HostNic nic = get(); follow(nic); return nic; }
@Test public void testGet() throws Exception { HostNicResource subresource = collection.getNicResource(GUIDS[SINGLE_NIC_IDX].toString()); setGetVdsQueryExpectations(1); setGetNetworksQueryExpectations(1); setUriInfo(setUpBasicUriExpectations()); setUpQueryExpectations(""); verifyModel(subresource.get(), SINGLE_NIC_IDX); }