@Test @SmallTest public void setStates_constructedWithExecutor_usesExecutor() { TestExecutor testExecutor = new TestExecutor(); KeyedAppStatesReporter reporter = new DefaultKeyedAppStatesReporter(mContext, testExecutor); reporter.setStates(singleton(mState)); assertThat(testExecutor.lastExecuted()).isNotNull(); }
@Override public void setStates(@NonNull Collection<KeyedAppState> states) { setStates(states, false); }
DefaultKeyedAppStatesReporter extends KeyedAppStatesReporter { @Override public void setStates(@NonNull Collection<KeyedAppState> states) { setStates(states, false); } }
DefaultKeyedAppStatesReporter extends KeyedAppStatesReporter { @Override public void setStates(@NonNull Collection<KeyedAppState> states) { setStates(states, false); } DefaultKeyedAppStatesReporter(@NonNull Context context, @NonNull Executor executor);   DefaultKeyedAppStatesReporter(@NonNull Context context); }
DefaultKeyedAppStatesReporter extends KeyedAppStatesReporter { @Override public void setStates(@NonNull Collection<KeyedAppState> states) { setStates(states, false); } DefaultKeyedAppStatesReporter(@NonNull Context context, @NonNull Executor executor);   DefaultKeyedAppStatesReporter(@NonNull Context context); @Override void setStates(@NonNull Collection<KeyedAppState> states); @Override void setStatesImmediate(@NonNull Collection<KeyedAppState> states); }
DefaultKeyedAppStatesReporter extends KeyedAppStatesReporter { @Override public void setStates(@NonNull Collection<KeyedAppState> states) { setStates(states, false); } DefaultKeyedAppStatesReporter(@NonNull Context context, @NonNull Executor executor);   DefaultKeyedAppStatesReporter(@NonNull Context context); @Override void setStates(@NonNull Collection<KeyedAppState> states); @Override void setStatesImmediate(@NonNull Collection<KeyedAppState> states);  }