@Test
public void handleTransportError() throws Exception {

  underTest.afterConnectionEstablished(session);
  underTest.handleTransportError(session, new IOException());
  verify(metrics).markTransportError();
}