VolleyerRequest extends Request<T> implements MultipartContainer { protected Class<T> getTargetClass() { return this.clazz; } 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 targetClassShouldBeSameWithParameterOfConstructor() { VolleyerRequest<String> request = new VolleyerRequest<String>(httpContent, clazz, responseParser, listener, errorListener); assertEquals(clazz, request.getTargetClass()); }