@Test
public void shouldReturnStableIdForRepositoryPresenterOfList() {

  final RepositoryPresenter<List<String>> listRepositoryPresenter =
      repositoryPresenterOf(String.class)
          .layout(LAYOUT_ID)
          .stableIdForItem(Functions.<String, Long>staticFunction(STABLE_ID))
          .forList();
  assertThat(listRepositoryPresenter.getItemId(STRING_LIST, 1), is(STABLE_ID));
}