@Test
    public void canCompleteItself() throws IOException {
        String jid = queue.put("Foo", null, null);
        queue.pop().complete(); // TODO: this test passes even when this line is removed
        Assert.assertEquals("complete", client.getJob(jid).getState());
    }
@Test
    public void canCompleteItself() throws IOException {
        String jid = queue.put("Foo", null, null);
        queue.pop().complete();
        Assert.assertEquals("complete", client.getJob(jid).getState());
    }
@test public void cancompleteitself() throws ioexception { string jid = queue.put("foo", null, null); queue.pop().complete(); assert.assertequals("complete", client.getjob(jid).getstate()); }