func (m *MockMessageHandler) CheckAuth(msg p2pcommon.Message, msgBody p2pcommon.MessageBody) error {
    m.ctrl.T.Helper()
    ret := m.ctrl.Call(m, "CheckAuth", msg, msgBody)
    ret0, _ := ret[0].(error)
    return ret0