def METHOD_NAME(app, session, status, legal_type, submitter_role):
    """Assert that the dissolution email processor for firms works as expected."""
    # setup filing + business for email
    legal_name = 'test business'
    filing = prep_dissolution_filing(session, 'FM1234567', '1', status, legal_type, legal_name, submitter_role)
    token = 'token'
    # test processor
    with patch.object(dissolution_notification, '_get_pdfs', return_value=[]) as mock_get_pdfs:
        with patch.object(dissolution_notification, 'get_recipient_from_auth', return_value='recipient@email.com'):
            with patch.object(dissolution_notification, 'get_user_email_from_auth', return_value='user@email.com'):
                email = dissolution_notification.process(
                    {'filingId': filing.id, 'type': 'dissolution', 'option': status}, token)
                if status == 'PAID':
                    assert email['content']['subject'] == legal_name + \
                        ' - Confirmation of Filing from the Business Registry'
                else:
                    assert email['content']['subject'] == \
                        legal_name + ' - Dissolution Documents from the Business Registry'
                if submitter_role:
                    assert f'{submitter_role}@email.com' in email['recipients']
                else:
                    assert 'user@email.com' in email['recipients']
                assert 'recipient@email.com' in email['recipients']
                assert 'cp@email.com' in email['recipients']
                assert email['content']['body']
                assert email['content']['attachments'] == []
                assert mock_get_pdfs.call_args[0][0] == status
                assert mock_get_pdfs.call_args[0][1] == token
                assert mock_get_pdfs.call_args[0][2]['identifier'] == 'FM1234567'
                assert mock_get_pdfs.call_args[0][2]['legalName'] == legal_name
                assert mock_get_pdfs.call_args[0][2]['legalType'] == legal_type
                assert mock_get_pdfs.call_args[0][3] == filing