### Question:
RequestFromVertx extends Request { @Override public Cookies cookies() { return cookies; } RequestFromVertx(final HttpServerRequest request); @Override String contentType(); @Override String encoding(); @Override String language(); @Override String charset(); @Override String uri(); @Override String method(); @Override String remoteAddress(); @Override String host(); @Override String path(); @Override MediaType mediaType(); @Override Collection<MediaType> mediaTypes(); @Override boolean accepts(String mimeType); @Override Cookies cookies(); Cookie cookie(String name); @Override Map<String, List<String>> headers(); @Override String parameter(String name); @Override List<String> parameterMultipleValues(String name); @Override String parameter(String name, String defaultValue); @Override Integer parameterAsInteger(String name); @Override Integer parameterAsInteger(String name, Integer defaultValue); @Override Boolean parameterAsBoolean(String name); @Override Boolean parameterAsBoolean(String name, boolean defaultValue); @Override Map<String, List<String>> parameters(); @Override Map<String, Object> data(); HttpServerRequest getVertxRequest(); Map<String, List<String>> getFormData(); String getRawBodyAsString(); byte[] getRawBody(); List<VertxFileUpload> getFiles(); boolean ready();  }### Answer:
@Test public void testCookies() throws Exception { String c = "mediaWiki.user.id=0kn3VaEP7XG7mbxRPNgBOe5DNfOAGaHL; centralnotice_bucket=0-4.2; " + "uls-previous-languages=%5B%22en%22%5D; mediaWiki.user.sessionId=Mu2OplNdlL98mRoHEwKGlxYsOXbyP1f0; GeoIP=::::v6"; HttpRequest req = new DefaultFullHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.GET, "/"); req.headers().set(HeaderNames.COOKIE, c); RequestFromVertx request = new RequestFromVertx(create(req)); assertThat(request.cookies().get("mediaWiki.user.id").value()).isEqualTo("0kn3VaEP7XG7mbxRPNgBOe5DNfOAGaHL"); assertThat(request.cookies().get("GeoIP").value()).isEqualTo("::::v6"); assertThat(request.cookie("mediaWiki.user.id").value()).isEqualTo("0kn3VaEP7XG7mbxRPNgBOe5DNfOAGaHL"); assertThat(request.cookie("GeoIP").value()).isEqualTo("::::v6"); req = new DefaultFullHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.GET, "/"); request = new RequestFromVertx(create(req)); assertThat(request.cookies().get("GeoIP")).isNull(); assertThat(request.cookie("GeoIP")).isNull(); }