@Test
public void shouldSendTo() throws Exception {

  final Repository<List<Integer>> repository = repositoryWithInitialValue(INITIAL_VALUE)
      .observe()
      .onUpdatesPerLoop()
      .sendTo(mockIntegerListReceiver)
      .thenSkip()
      .compile();
  updatable.addToObservable(repository);
  verify(mockIntegerListReceiver).accept(INITIAL_VALUE);
  assertThat(updatable, wasNotUpdated());
  assertThat(repository, has(INITIAL_VALUE));
}