NAME

Test::Pcuke::Expectation - expectation on an object

Takes an object, checks if some expectation about is correct

use Test::Pcuke::Expectation;

my $foo = Test::Pcuke::Expectation->new($object);
$foo->equals(5);
...

METHODS

new

is_defined

Checks if the object is defined

is_a $class

Checks if the object isa $class

equals $subject

Checks if the object eq $subject

AUTHOR

Andrei V. Toutoukine, <tut at isuct.ru>

BUGS

Please report any bugs or feature requests to bug-/home/tut/bin/src/test-pcuke at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=/home/tut/bin/src/Test-Pcuke. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Test::Pcuke::Expectation

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2011 Andrei V. Toutoukine.

This program is released under the following license: artistic