def METHOD_NAME(session, signal_instance, project):
    entity_types = [
        EntityType(
            name="AWS IAM Role ARN",
            jpath="id",
            regular_expression=None,
            project=project,
        ),
    ]
    entities = entity_service.find_entities(session, signal_instance, entity_types)
    assert len(entities) == 1
    # An entire obj which is not valid
    entity_types = [
        EntityType(
            name="Entire Obj",
            jpath="identity",
            regular_expression=None,
            project=project,
        ),
    ]
    entities = entity_service.find_entities(session, signal_instance, entity_types)
    assert len(entities) == 0
    # Two matches
    entity_types = [
        EntityType(
            name="AWS IAM Role ARN",
            jpath="asset[*].id",
            regular_expression=None,
            project=project,
        ),
    ]
    entities = entity_service.find_entities(session, signal_instance, entity_types)
    assert len(entities) == 2