DestinationSequence seq = new DestinationSequence(id, ref, destination);
manager = control.createMock(RMManager.class);
EasyMock.expect(destination.getManager()).andReturn(manager);
RMStore store = control.createMock(RMStore.class);
EasyMock.expect(manager.getStore()).andReturn(store);
store.removeMessages(EasyMock.eq(id),
CastUtils.cast(EasyMock.isA(Collection.class), BigInteger.class), EasyMock.eq(false));
EasyMock.expectLastCall();
control.replay();
seq.purgeAcknowledged(BigInteger.ONE);
control.verify();