@Test public void getMiddlewareNone() { dispatchManager = new DispatchManager<>(reducerDispatch, null); Assert.assertNull(dispatchManager.getMiddleware()); }
public Middleware<S, A>[] getMiddleware() { return middlewareList; }
DispatchManager { public Middleware<S, A>[] getMiddleware() { return middlewareList; } }
DispatchManager { public Middleware<S, A>[] getMiddleware() { return middlewareList; } DispatchManager(@NonNull Dispatcher<A> dispatchToReducer, @Nullable Middleware<S, A>[] middlewareList); }
DispatchManager { public Middleware<S, A>[] getMiddleware() { return middlewareList; } DispatchManager(@NonNull Dispatcher<A> dispatchToReducer, @Nullable Middleware<S, A>[] middlewareList); void handleDispatch(@NonNull Store<S, A> store, @NonNull A action); Middleware<S, A>[] getMiddleware(); }
DispatchManager { public Middleware<S, A>[] getMiddleware() { return middlewareList; } DispatchManager(@NonNull Dispatcher<A> dispatchToReducer, @Nullable Middleware<S, A>[] middlewareList); void handleDispatch(@NonNull Store<S, A> store, @NonNull A action); Middleware<S, A>[] getMiddleware();  }