@Test public void with_ForwardsCallWithDefaultTag() { final DiffRequestManagerHolder spyDiffRequestManagerHolder = spy(mDiffRequestManagerHolder); spyDiffRequestManagerHolder.with(mTestAdapter); then(spyDiffRequestManagerHolder).should().with(mTestAdapter, Constants.DIFF_REQUEST_MANAGER_DEFAULT_TAG); }
@NonNull public <D, A extends RecyclerView.Adapter & Swappable<D>> DiffRequestManager<D, A> with(@NonNull final A adapter) { return with(adapter, Constants.DIFF_REQUEST_MANAGER_DEFAULT_TAG); }
DiffRequestManagerHolder { @NonNull public <D, A extends RecyclerView.Adapter & Swappable<D>> DiffRequestManager<D, A> with(@NonNull final A adapter) { return with(adapter, Constants.DIFF_REQUEST_MANAGER_DEFAULT_TAG); } }
DiffRequestManagerHolder { @NonNull public <D, A extends RecyclerView.Adapter & Swappable<D>> DiffRequestManager<D, A> with(@NonNull final A adapter) { return with(adapter, Constants.DIFF_REQUEST_MANAGER_DEFAULT_TAG); } DiffRequestManagerHolder(@NonNull final Map<String, DiffRequestManager> managers); }
DiffRequestManagerHolder { @NonNull public <D, A extends RecyclerView.Adapter & Swappable<D>> DiffRequestManager<D, A> with(@NonNull final A adapter) { return with(adapter, Constants.DIFF_REQUEST_MANAGER_DEFAULT_TAG); } DiffRequestManagerHolder(@NonNull final Map<String, DiffRequestManager> managers); @NonNull static DiffRequestManagerHolder create(); @NonNull DiffRequestManager<D, A> with(@NonNull final A adapter); @NonNull DiffRequestManager<D, A> with(@NonNull final A adapter, @NonNull final String tag); @NonNull DiffRequestManager getDefaultManager(); @NonNull DiffRequestManager getManager(@NonNull final String tag); }
DiffRequestManagerHolder { @NonNull public <D, A extends RecyclerView.Adapter & Swappable<D>> DiffRequestManager<D, A> with(@NonNull final A adapter) { return with(adapter, Constants.DIFF_REQUEST_MANAGER_DEFAULT_TAG); } DiffRequestManagerHolder(@NonNull final Map<String, DiffRequestManager> managers); @NonNull static DiffRequestManagerHolder create(); @NonNull DiffRequestManager<D, A> with(@NonNull final A adapter); @NonNull DiffRequestManager<D, A> with(@NonNull final A adapter, @NonNull final String tag); @NonNull DiffRequestManager getDefaultManager(); @NonNull DiffRequestManager getManager(@NonNull final String tag);  }