### Question:
JettyHttpConnection extends HttpConnection implements TrackedNetworkConnection { @Override public String connector() { return getConnector().getName(); } JettyHttpConnection( String id, HttpConfiguration config, Connector connector, EndPoint endPoint,
            HttpCompliance compliance, boolean recordComplianceViolations ); @Override String id(); @Override long connectTime(); @Override String connector(); @Override SocketAddress serverAddress(); @Override SocketAddress clientAddress(); @Override String username(); @Override String userAgent(); @Override void updateUser( String username, String userAgent ); static void updateUserForCurrentConnection( String username, String userAgent ); static JettyHttpConnection getCurrentJettyHttpConnection();  }### Answer:
@Test void shouldHaveConnector() { JettyHttpConnection connection = newConnection( connectorMock( "http+routing" ) ); assertEquals( "http+routing", connection.connector() ); }