NAME

Test::EasyMock::ExpectationSetters - Allows setting expectations for an associated expected invocation.

CONSTRUCTORS

new($expectation)

Create a instance.

METHOD

and_scalar_return($value)

Add scalar result to the expectation.

and_array_return(@values)

Add array result to the expectation.

and_die([$message])

Add die behavior to the expectation.

and_stub_scalar_return($value)

Set scalar result as a stub to the expectation.

and_stub_array_return(@values)

Set array result as a stub to the expectation.

and_stub_die([$message])

Set die behavior as as stub to the expectation.