def METHOD_NAME(mock_db):
    http_analyzer = ModuleFactory().create_http_analyzer_obj(mock_db)
    # use a different profile for this unit test to make sure we don't already have info about
    # it in the db. it has to be a private IP for its' MAC to not be marked as the gw MAC
    profileid = 'profile_192.168.77.254'
    # Mimic an intel mac vendor using safari
    mock_db.get_mac_vendor_from_profile.return_value = 'Intel Corp'
    mock_db.get_user_agent_from_profile.return_value = {'browser': 'safari'}
    assert (
        http_analyzer.check_incompatible_user_agent('google.com', '/images', timestamp, profileid, twid, uid) is True
    )