> @@ -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);
[minor] `replay(node, computeService);`?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/405/files#r13737155