RetroProxy { public RequestQueue requestQueue() { return requestQueue; } private  RetroProxy(RequestQueue requestQueue, HttpUrl baseUrl, List<Factory> converters,
                       boolean validateEagerly, boolean execManually); @SuppressWarnings("unchecked") // Single-interface proxy creation guarded by parameter safety. T create(final Class<T> service); RequestQueue requestQueue(); boolean execManually(); HttpUrl baseUrl(); List<Factory> converterFactories(); Converter<?, NetworkRequest> requestConverter(Type type, Annotation[] annotations); Converter<NetworkResponse, ?> responseConverter(Type type, Annotation[] annotations);  }
@Test public void queueNullThrows() { try { new RetroProxy.Builder().requestQueue(null); fail(); } catch (NullPointerException e) { assertThat(e).hasMessage("requestQueue == null"); } }