def METHOD_NAME(rule_runner: RuleRunner) -> None:
    rule_runner.write_files(
        {
            "src/chart1/BUILD": """helm_chart()""",
            "src/chart1/Chart.yaml": gen_chart_file("chart1", version="0.1.0"),
            "src/chart1/values.yaml": HELM_VALUES_FILE,
            "src/chart1/templates/service.yaml": K8S_SERVICE_TEMPLATE,
            "src/chart1/tests/BUILD": """helm_unittest_tests(sources=["*_test.yaml"])""",
            "src/chart1/tests/service_test.yaml": "",
            "src/chart2/BUILD": """helm_chart()""",
            "src/chart2/Chart.yaml": gen_chart_file("chart2", version="0.1.0"),
            "src/chart2/values.yaml": HELM_VALUES_FILE,
            "src/chart2/templates/service.yaml": K8S_SERVICE_TEMPLATE,
            "src/chart2/tests/BUILD": """helm_unittest_tests(sources=["*_test.yaml"])""",
            "src/chart2/tests/service_test.yaml": "",
        }
    )
    chart1_tgt = rule_runner.get_target(Address("src/chart1", target_name="chart1"))
    chart1_unittest_tgt = rule_runner.get_target(Address("src/chart1/tests", target_name="tests"))
    chart2_tgt = rule_runner.get_target(Address("src/chart2", target_name="chart2"))
    chart2_unittest_tgt = rule_runner.get_target(Address("src/chart2/tests", target_name="tests"))
    chart1_inferred_deps = rule_runner.request(
        InferredDependencies,
        [
            InferHelmUnitTestChartDependencyRequest(
                HelmUnitTestChartDependencyInferenceFieldSet.create(chart1_unittest_tgt)
            )
        ],
    )
    chart2_inferred_deps = rule_runner.request(
        InferredDependencies,
        [
            InferHelmUnitTestChartDependencyRequest(
                HelmUnitTestChartDependencyInferenceFieldSet.create(chart2_unittest_tgt)
            )
        ],
    )
    assert chart1_inferred_deps == InferredDependencies([chart1_tgt.address])
    assert chart2_inferred_deps == InferredDependencies([chart2_tgt.address])