Help for this page

Select Code to Download


  1. or download this
    use Test::MockObject;
    use Test::More 'no_plan';
    ...
    
    is( $x->isa('Foo'), 1 );
    is( $x->bar('Foo'), 2 );