### Question:
VertxServerHttpRequest extends AbstractServerHttpRequest { @Override protected SslInfo initSslInfo() { if (delegate.sslSession() == null) { return null; } return new SslInfoImpl(delegate.sslSession()); } VertxServerHttpRequest(RoutingContext context, BufferConverter bufferConverter); @SuppressWarnings("unchecked") @Override T getNativeRequest(); @Override String getMethodValue(); @Override Flux<DataBuffer> getBody(); @Override InetSocketAddress getRemoteAddress();  }### Answer:
@Test public void shouldInitSslInfo() { given(mockHttpServerRequest.sslSession()).willReturn(mockSslSession); assertThat(vertxServerHttpRequest.initSslInfo()).isInstanceOf(SslInfoImpl.class); }
@Test public void shouldIgnoreNullSslSession() { assertThat(vertxServerHttpRequest.initSslInfo()).isNull(); }