Help for this page

Select Code to Download


  1. or download this
    package A::Class;
    
    sub some_method
    ...
        $object->some_other_method();
        $object->some_method_or_other();
    }
    
  2. or download this
    use Test::More 'no_plan';
    
    use Test::MockObject;
    ...
         ->set_true( 'some_method_or_other' );
    
    $a->some_method( $mock );