How to test a custom tool defined by a decorator?

Hi,
In this example below, how do you test this custom tool defined by a decorator?

  from crewai.tools import tool
    @tool("Name of my tool")
    def my_tool(question: str) -> str:
        """Clear description for what this tool is useful for, your agent will need this information to use it."""
        # Function logic here
        return "Result from your custom tool"