@Test
public void shouldReturnStableIdForRepositoryPresenterOfResultList() {

  final RepositoryPresenter<Result<List<String>>> resultListRepositoryPresenter =
      dataBindingRepositoryPresenterOf(String.class)
          .layout(LAYOUT_ID)
          .itemId(ITEM_ID)
          .stableIdForItem(Functions.<String, Long>staticFunction(STABLE_ID))
          .forResultList();
  assertThat(resultListRepositoryPresenter.getItemId(STRING_LIST_RESULT, 0), is(STABLE_ID));
}