@Test
public void testSend() throws Exception {

  when(destination.isStarted()).thenReturn(true);
  bufferedDestination.send(ImmutableList.of(firstMutation, secondMutation));
  bufferedDestination.processMutations();
  verify(destination).send(ImmutableList.of(firstMutation, secondMutation));
  bufferedDestination.send(ImmutableList.of(firstMutation));
  bufferedDestination.send(ImmutableList.of(secondMutation, thirdMutation));
  bufferedDestination.processMutations();
  verify(destination).send(mutations);
}