VolleyX { static <T> T generateData(Request<T> request) throws InterruptedException, ExecutionException { return generateData(request, DEFAULT_LISTENER_FIELD); }  static void init(Context context); static Observable<T> from(final Request<T> request); static Observable<T> from(final Request<T> request, final String listernerField); static void setRequestQueue(RequestQueue queue); static RequestQueue DEFAULT_REQUESTQUEUE; }
@Test public void generateData1_request_null() throws Exception { thrown.expect(NullPointerException.class); VolleyX.generateData(null, ""); }
@Test public void generateData_request_null() throws Exception { thrown.expect(NullPointerException.class); VolleyX.generateData(null); }