def METHOD_NAME(self):
    # Test normal case
    result = self.agent_step.final_answer("query")
    assert result["query"] == "query"
    assert isinstance(result["answers"][0], Answer)
    assert result["answers"][0].answer == "Hello"
    assert result["answers"][0].type == "generative"
    assert result["transcript"] == "Hello"
    # Test with max_steps reached
    self.agent_step.current_step = 11
    result = self.agent_step.final_answer("query")
    assert result["answers"][0].answer == ""