# Path: bottery/handlers.py
# class CaseSensitiveOptionMixin:
# class PlatformsOptionMixin:
# class BaseHandler(PlatformsOptionMixin):
# class RegexHandler(BaseHandler):
# class MessageHandler(CaseSensitiveOptionMixin, BaseHandler):
# class StartswithHandler(CaseSensitiveOptionMixin, BaseHandler):
# class DefaultHandler(BaseHandler):
#     def clean_case_senstive(self):
#     def clean_platforms(self):
#     def __init__(self, pattern=None, view=None, *args, **kwargs):
#     def check(self, message):
#     def full_clean(self):
#     def match(self, message):
#     def __init__(self, *args, **kwargs):
#     def match(self, message):
#     def match(self, message):
#     def match(self, message):
#     def __init__(self, view, *args, **kwargs):
#     def check(self, message):
# def _handle_msg(pattern, view=None, Handler=None, *args, **kwargs):


from unittest import mock
from bottery import handlers
import pytest




@pytest.fixture
def message():
    return type('Message', (), {'text': 'ping'})


@pytest.fixture
def handler():

# Path: bottery/handlers.py
# class CaseSensitiveOptionMixin:
# class PlatformsOptionMixin:
# class BaseHandler(PlatformsOptionMixin):
# class RegexHandler(BaseHandler):
# class MessageHandler(CaseSensitiveOptionMixin, BaseHandler):
# class StartswithHandler(CaseSensitiveOptionMixin, BaseHandler):
# class DefaultHandler(BaseHandler):
#     def clean_case_senstive(self):
#     def clean_platforms(self):
#     def __init__(self, pattern=None, view=None, *args, **kwargs):
#     def check(self, message):
#     def full_clean(self):
#     def match(self, message):
#     def __init__(self, *args, **kwargs):
#     def match(self, message):
#     def match(self, message):
#     def match(self, message):
#     def __init__(self, view, *args, **kwargs):
#     def check(self, message):
# def _handle_msg(pattern, view=None, Handler=None, *args, **kwargs):


# Path: tests/test_handlers.py
from unittest import mock
from bottery import handlers
import pytest





@pytest.fixture
def message():
    return type('Message', (), {'text': 'ping'})


@pytest.fixture
def handler():

    handler = type('TestHandler', (handlers.BaseHandler,), {})