def METHOD_NAME() -> None:
    p = GettableParam("base_param", vals=vals.Numbers())
    p._instrument = named_instrument  # type: ignore[assignment]
    vp = VirtualParameter("test_param", param=p)
    assert vp.underlying_instrument is named_instrument  # type: ignore[comparison-overlap]