def METHOD_NAME(cls):
    if (cls.masterKey == '[YOUR_KEY_HERE]' or
            cls.host == '[YOUR_ENDPOINT_HERE]'):
        raise Exception(
            "You must specify your Azure Cosmos account values for "
            "'masterKey' and 'host' at the top of this class to run the "
            "tests.")
    cls.mock_handler_default = MockHandler()
    cls.mock_handler_diagnostic = MockHandler()
    cls.logger_default = logging.getLogger("testloggerdefault")
    cls.logger_default.addHandler(cls.mock_handler_default)
    cls.logger_default.setLevel(logging.DEBUG)
    cls.logger_diagnostic = logging.getLogger("testloggerdiagnostic")
    cls.logger_diagnostic.addHandler(cls.mock_handler_diagnostic)
    cls.logger_diagnostic.setLevel(logging.DEBUG)
    cls.client_default = cosmos_client.CosmosClient(cls.host, cls.masterKey,
                                                    consistency_level="Session",
                                                    connection_policy=cls.connectionPolicy,
                                                    logger=cls.logger_default)
    cls.client_diagnostic = cosmos_client.CosmosClient(cls.host, cls.masterKey,
                                                       consistency_level="Session",
                                                       connection_policy=cls.connectionPolicy,
                                                       logger=cls.logger_diagnostic, enable_diagnostics_logging=True)