}
@Test
public void testQueueEmptyRemove() {
int size = ctx.bucket().queueSize("dsqueue");
while (size > 0) {
<BUG>ctx.bucket().queueRemove("dsqueue", Object.class);
</BUG>
size = ctx.bucket().queueSize("dsqueue");
}
<BUG>assertEquals(ctx.bucket().queueRemove("dsqueue", Object.class), null);
</BUG>
}

}
@Test
public void testQueueEmptyRemove() {
int size = ctx.bucket().queueSize("dsqueue");
while (size > 0) {
ctx.bucket().queuePop("dsqueue", Object.class);
size = ctx.bucket().queueSize("dsqueue");
}
assertEquals(ctx.bucket().queuePop("dsqueue", Object.class), null);
}
