def METHOD_NAME(self) -> None:
    input_string = "test {inputs.val1} ${{inputs.val2}} {search_space.val3} ${{search_space.val4}} {non-captured}"
    expected_string = (
        "test ${{inputs.val1}} ${{inputs.val2}} ${{search_space.val3}} ${{search_space.val4}} {non-captured}"
    )
    output_string = map_single_brackets_and_warn(input_string)
    assert expected_string == output_string