VolleyerRequest extends Request<T> implements MultipartContainer { @Override public Map<String, String> getHeaders() throws AuthFailureError { return httpContent.getHeaders(); } VolleyerRequest(HttpContent httpContent, Class<T> clazz, NetworkResponseParser responseParser, Listener<T> listener, ErrorListener errorListener); @Override Map<String, String> getHeaders(); @Override byte[] getBody(); @Override boolean hasMultipart(); @Override Multipart getMultipart();  }
@Test public void headersShouldBeSameWithThatOfHttpContent() { httpContent.addHeader("hello", "world"); httpContent.addHeader("volley", "extensions"); Request<String> request = new VolleyerRequest<String>(httpContent, clazz, responseParser, listener, errorListener); try { assertEquals(httpContent.getHeaders(), request.getHeaders()); } catch (AuthFailureError e) { e.printStackTrace(); } }