@Test public void create_ReturnsNonNullHolder() { final DiffRequestManagerHolder holder = DiffRequestManagerHolder.create(); assertThat(holder, notNullValue()); }
@NonNull public static DiffRequestManagerHolder create() { return new DiffRequestManagerHolder(new HashMap<String, DiffRequestManager>()); }
DiffRequestManagerHolder { @NonNull public static DiffRequestManagerHolder create() { return new DiffRequestManagerHolder(new HashMap<String, DiffRequestManager>()); } }
DiffRequestManagerHolder { @NonNull public static DiffRequestManagerHolder create() { return new DiffRequestManagerHolder(new HashMap<String, DiffRequestManager>()); } DiffRequestManagerHolder(@NonNull final Map<String, DiffRequestManager> managers); }
DiffRequestManagerHolder { @NonNull public static DiffRequestManagerHolder create() { return new DiffRequestManagerHolder(new HashMap<String, DiffRequestManager>()); } 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 static DiffRequestManagerHolder create() { return new DiffRequestManagerHolder(new HashMap<String, DiffRequestManager>()); } 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);  }