def METHOD_NAME(app, session):
    """Assert that the share structures are deleted."""
    from legal_api.models import ShareClass, ShareSeries
    # setup
    business = Business()
    for i in range(5):
        share_class = ShareClass(name=f'share class {i}')
        for j in range(5):
            share_series = ShareSeries(name=f'share series {j}')
            share_class.series.append(share_series)
        business.share_classes.append(share_class)
    business.save()
    business_id = business.id
    # test
    shares.delete_existing_shares(business)
    business.save()
    # check
    check_business = Business.find_by_internal_id(business_id)
    share_classes = check_business.share_classes.all()
    assert not share_classes