@Test public void onSuccessShouldNotifyDataSetChanged() throws Exception { notifyDataSetChangedCallbacks.onSuccess(); assertThat(testListAdapter.notifyDataSetChangedWasCalled, equalTo(true)); }
@Override public void onSuccess() { adapter.notifyDataSetChanged(); }
NotifyDataSetChangedCallbacks extends Callbacks { @Override public void onSuccess() { adapter.notifyDataSetChanged(); } }
NotifyDataSetChangedCallbacks extends Callbacks { @Override public void onSuccess() { adapter.notifyDataSetChanged(); } NotifyDataSetChangedCallbacks(BaseAdapter adapter); }
NotifyDataSetChangedCallbacks extends Callbacks { @Override public void onSuccess() { adapter.notifyDataSetChanged(); } NotifyDataSetChangedCallbacks(BaseAdapter adapter); @Override void onSuccess(); }
NotifyDataSetChangedCallbacks extends Callbacks { @Override public void onSuccess() { adapter.notifyDataSetChanged(); } NotifyDataSetChangedCallbacks(BaseAdapter adapter); @Override void onSuccess();  }