def METHOD_NAME() -> None:
    actions = object_actions(TestObject, parse_def(TestObject))
    assert len(actions) == 2
    for act in actions.values():
        if act.name == TestObject.action_1.__name__:
            expected_meta = ActionMetadata()
            expected_meta.cancellable = True
            assert act.meta == expected_meta
            assert not act.returns
            assert act.description == "Short description."
            assert not act.disabled
            assert act.origins is None
            assert len(act.parameters) == 3
            for param in act.parameters:
                if param.name == "param1":
                    assert param.description == "str param"
                elif param.name == "param2":
                    assert param.description == "int param"
                elif param.name == "param3":
                    assert param.description == "bool param"
                else:
                    pytest.fail(f"Unknown parameter: {param.name} of action {act.name}.")
        elif act.name == TestObject.action_2.__name__:
            assert act.meta == ActionMetadata()
            assert len(act.returns) == 1
            assert act.description == "Short description"
            assert not act.disabled
            assert act.origins is None
            assert not act.parameters
        else:
            pytest.fail(f"Unknown action: {act.name}.")