def METHOD_NAME(business, office_structure):
    """Validate that office gets created."""
    err = update_offices(business, office_structure['offices'])
    business.save()
    check_business = Business.find_by_internal_id(business.id)
    check_offices = check_business.offices.all()
    assert len(check_offices) == 2
    check_office_structure = {'offices': {}}
    for s in check_offices:
        check_office_structure['offices'][s.office_type] = {}
        for address in s.addresses:
            check_office_structure['offices'][s.office_type][f'{address.address_type}Address'] = address.json
    stripped_dict = strip_keys_from_dict(check_office_structure, ['id', 'addressType'])
    assert stripped_dict == office_structure
    assert not err