MapzenMapHttpHandler implements GenericHttpHandler { HttpHandler httpHandler() { return httpHandler; } MapzenMapHttpHandler();  MapzenMapHttpHandler(File directory, long maxSize);   }
@Test public void shouldHaveCorrectUrlAndHeaders() throws Exception { handler.httpHandler().onRequest("http: Map<String, String> userAgentMap = new HashMap(); userAgentMap.put(HEADER_USER_AGENT, USER_AGENT); String url = "http: Map headers = testHeaders(); headers.put(HEADER_USER_AGENT, USER_AGENT); verify(enqueuer).enqueueRequest(any(OkHttpClient.class), any(Callback.class), eq(url), eq(headers)); }