def METHOD_NAME(pm: PluginManager) -> None:
    class Api:
        @hookspec
        def hello(self, arg):
            "api hook 1"
    pm.add_hookspecs(Api)
    class Plugin:
        @hookimpl
        def hello(self, argwrong):
            pass
    with pytest.raises(PluginValidationError) as exc:
        pm.register(Plugin())
    assert "argwrong" in str(exc.value)