井関 恵太 > Test-EasyMock-0.03 > Test::EasyMock::ExpectationSetters

Download:
Test-EasyMock-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: Test-EasyMock-0.10

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.

syntax highlighting: