mockTool

Creates a mock for a tool.

This method is used to define how a tool should behave when it is called during testing.

Return

A MockToolReceiver for further configuration

Parameters

tool

The tool to be mocked