def METHOD_NAME(
    rule_runner: RuleRunner, jvm_lockfile: JVMLockfileFixture
) -> None:
    rule_runner.write_files(
        {
            "3rdparty/jvm/default.lock": jvm_lockfile.serialized_lockfile,
            "3rdparty/jvm/BUILD": jvm_lockfile.requirements_as_jvm_artifact_targets(),
            "BUILD": dedent(
                """\
                kotlin_junit_tests(
                    name='example-test',
                )
                """
            ),
            "SimpleTest.kt": dedent(
                """
                package org.pantsbuild.example
                import kotlin.test.Test
                import kotlin.test.assertEquals
                internal class SimpleTest {
                   @Test
                   fun testHello() {
                      assertEquals("Hello!", "Hello!")
                   }
                }
                """
            ),
        }
    )
    test_result = run_junit_test(rule_runner, "example-test", "SimpleTest.kt")
    assert test_result.exit_code == 0
    stdout_text = test_result.stdout_bytes.decode()
    assert re.search(r"Finished:\s+testHello", stdout_text) is not None
    assert re.search(r"1 tests successful", stdout_text) is not None
    assert re.search(r"1 tests found", stdout_text) is not None