> @@ -141,6 +141,19 @@ public void testNodeRunningReturnsTrueWhenRunning() { > Assert.assertTrue(nodeRunning.apply(reference)); > Assert.assertEquals(reference.get(), node); > } > + > + @Test > + public void testNodeSuspendedReturnsTrueWhenSuspended() { > + expect(node.getStatus()).andReturn(Status.SUSPENDED).atLeastOnce(); > + expect(node.getBackendStatus()).andReturn(null).atLeastOnce(); > + replay(node); > + replay(computeService); > + > + AtomicNodeSuspended nodeRunning = new > AtomicNodeSuspended(computeService);
Rename to "nodeSuspended" or "suspendedNode" or suchlike? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/405/files#r13737173