def METHOD_NAME(mocker):
    setup_responses()
    source = SourceConvex()
    logger_mock = MagicMock()
    assert source.check_connection(
        logger_mock,
        {
            "deployment_url": "https://curious-giraffe-964.convex.cloud",
            "access_key": "test_api_key",
        },
    ) == (False, "Connection to Convex via json_schemas endpoint failed: 400: Error code: Error message")