def METHOD_NAME(
    self, create_iam_role_for_sfn, create_state_machine, sfn_snapshot, aws_client
):
    snf_role_arn = create_iam_role_for_sfn()
    sfn_snapshot.add_transformer(RegexTransformer(snf_role_arn, "snf_role_arn"))
    definition = BaseTemplate.load_sfn_template(BaseTemplate.BASE_PASS_RESULT)
    definition_str = json.dumps(definition)
    sm_name = f"statemachine_{short_uid()}"
    creation_resp_1 = create_state_machine(
        name=sm_name,
        definition=definition_str,
        roleArn=snf_role_arn,
        tags=[Tag(key="key1", value="value1"), Tag(key="key2", value="value2")],
    )
    state_machine_arn = creation_resp_1["stateMachineArn"]
    sfn_snapshot.add_transformer(sfn_snapshot.transform.sfn_sm_create_arn(creation_resp_1, 0))
    sfn_snapshot.match("creation_resp_1", creation_resp_1)
    list_resources_res = aws_client.stepfunctions.list_tags_for_resource(
        resourceArn=state_machine_arn
    )
    sfn_snapshot.match("list_resources_res", list_resources_res)