### Question:
MultiCallbacks extends Callbacks { @Override public void onSuccess() { for (Callbacks callback : callbacks) { callback.onSuccess(); } } MultiCallbacks(Callbacks... callbacks); @Override void onStart(); @Override void onSuccess(); @Override void onFailure(); @Override void onComplete();  }### Answer:
@Test public void onSuccess_shouldCallThroughToAllProvidedCallbacks() throws Exception { multiCallbacks.onSuccess(); assertThat(testCallbacks0.successWasCalled, equalTo(true)); assertThat(testCallbacks1.successWasCalled, equalTo(true)); }