trevorflanagan commented on this pull request.
> + }
+ }
+
+ public void testGetServer() throws Exception {
+ server.enqueue(jsonResponse("/server.json"));
+ Server found = serverApi().getServer("12345");
+ assertSent(GET,
"/caas/2.4/6ac1e746-b1ea-4da5-a24e-caf1a978789d/server/server/12345");
+ assertNotNull(found);
+ assertNotNull(found.guest().vmTools());
+ }
+
+ public void testGetServer_404() throws Exception {
+ server.enqueue(response404());
+ serverApi().getServer("12345");
+ assertSent(GET,
"/caas/2.4/6ac1e746-b1ea-4da5-a24e-caf1a978789d/server/server/12345");
+ }
Yes it looks like it is a duplicate. I will remove
testGetServerReturnsResourceNotFound
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/400#discussion_r152036558