I want to verify the number of calls being invoked by the lambda.
This lambda serves as a callback to deliver the state changes. I want to constraint the lambda to be