def METHOD_NAME(mock_event, create_event_company, company):
    """ Test update company """
    event_type = EventType.UpdateCompany
    Company.load = Mock()
    company_controller.company_acl_verify = Mock()
    Company.save = Mock()
    company_name = 'new name'
    company_controller.update_company(
        company.get_company_id(),
        company_name=company_name,
    )
    event_data = f"The company name was updated to {company_name}. "
    mock_event.assert_called_once_with(
        event_data=event_data,
        event_summary=event_data,
        event_type=event_type,
        event_company_id=company.get_company_id(),
        contains_pii=False,
    )