RepositoryPresenter { public boolean getUpdates(@NonNull final T oldData, @NonNull final T newData, @NonNull final ListUpdateCallback listUpdateCallback) { return false; }  abstract int getItemCount(@NonNull T data); long getItemId(@NonNull final T data, final int index); abstract @LayoutRes int getLayoutResId(@NonNull T data, int index); abstract void bind(@NonNull T data, int index, @NonNull RecyclerView.ViewHolder holder); void recycle(@NonNull final RecyclerView.ViewHolder holder); boolean getUpdates(@NonNull final T oldData, @NonNull final T newData,
      @NonNull final ListUpdateCallback listUpdateCallback);  }
@Test public void shouldHaveDefaultGetUpdatesImplementation() throws Exception { final boolean returnValue = new TestRepositoryPresenter().getUpdates( new Object(), new Object(), mock(ListUpdateCallback.class)); assertThat(returnValue, is(false)); }