The calling to fail on unexpected command call is there.
This Pull Request adds UnexpectedCallsWereMade function to support checking unexpected command call. When there is unexpected command call, it appends the command to a slice. The UnexpectedCallsWereMade function will return which unexpected commands were called on the mock client.
The calling to fail on unexpected command call is there.
This Pull Request adds UnexpectedCallsWereMade function to support checking unexpected command call. When there is unexpected command call, it appends the command to a slice. The UnexpectedCallsWereMade function will return which unexpected commands were called on the mock client.