code: func (m *MockSession) CloseWithError(arg0 protocol.ApplicationErrorCode, arg1 error) error {
  	m.ctrl.T.Helper()
  	ret := m.ctrl.Call(m, "CloseWithError", arg0, arg1)
  	ret0, _ := ret[0].(error)
  	return ret0
  }
docs: // CloseWithError mocks base method