def METHOD_NAME(mocker, fb_marketing, config, logger_mock):
    api_mock = mocker.Mock()
    api_mock.account.api_get.return_value = {"account": 123, "is_personal": 1}
    mocker.patch('source_facebook_marketing.source.API', return_value=api_mock)
    result, error = fb_marketing.check_connection(logger=logger_mock, config=config)
    assert not result
    assert isinstance(error, AccountTypeException)