Sets expectations on mock objects.
a function that sets expectations on the passed
mock method on this
Mockery context object, passing in a class instance for the
specified type parameter.
Executes code using mocks with expectations set.
the code to execute under previously set expectations
org.mock.ExpectationError if an expectation is not met