ScribeRequestManager extends RequestManager<ScribeRequestFactory> implements ScribeRequest.Listener { @Override public void onResponse() { MoPubLog.d("Successfully scribed events"); mHandler.post(new Runnable() { @Override public void run() { clearRequest(); } }); } ScribeRequestManager(final Looper looper); @Override void onResponse(); @Override void onErrorResponse(final VolleyError volleyError);  }
@Test public void onResponse_shouldClearRequest() throws Exception { subject.onResponse(); assertThat(subject.getCurrentRequest()).isNull(); }