@Test
public void shouldReturnStableIdForRepositoryPresenterOfItem() {

  final RepositoryPresenter<String> resultRepositoryPresenter =
      dataBindingRepositoryPresenterOf(String.class)
          .layout(LAYOUT_ID)
          .itemId(ITEM_ID)
          .stableIdForItem(Functions.<String, Long>staticFunction(STABLE_ID))
      .forItem();
  assertThat(resultRepositoryPresenter.getItemId(STRING, 0), is(STABLE_ID));
}