void HttpConnectionManagerImplTest::doRemoteClose(bool deferred) {
  EXPECT_CALL(stream_, removeCallbacks(_));
  expectOnDestroy(deferred);
  filter_callbacks_.connection_.raiseEvent(Network::ConnectionEvent::RemoteClose);
}
void HttpConnectionManagerImplTest::doRemoteClose(bool deferred) {
  EXPECT_CALL(stream_, removeCallbacks(_));
  expectOnDestroy(deferred);
  filter_callbacks_.connection_.raiseEvent(Network::ConnectionEvent::RemoteClose);
}