@Test
public void shouldReturnOneForCountOfRepositoryPresenterOfSuccessfulResult() {

  final RepositoryPresenter<Result<String>> resultRepositoryPresenter =
      dataBindingRepositoryPresenterOf(String.class)
          .layout(LAYOUT_ID)
          .itemId(ITEM_ID)
          .forResult();
  assertThat(resultRepositoryPresenter.getItemCount(STRING_RESULT), is(1));
}