### Question:
Destination extends AbstractEndpoint { public Collection<DestinationSequence> getAllSequences() { return CastUtils.cast(map.values()); } Destination(RMEndpoint reliableEndpoint); DestinationSequence getSequence(Identifier id); Collection<DestinationSequence> getAllSequences(); void addSequence(DestinationSequence seq); void addSequence(DestinationSequence seq, boolean persist); void terminateSequence(DestinationSequence seq); void terminateSequence(DestinationSequence seq, boolean forceRemove); void removeSequence(DestinationSequence seq); void acknowledge(Message message);  }### Answer:
@Test public void testGetAllSequences() { control.replay(); assertEquals(0, destination.getAllSequences().size()); }