Help for this page

Select Code to Download


  1. or download this
    package BossClass;
      ...
    ...
      my $res = $obj->do_it(...);
      ...
    }
    
  2. or download this
    use Test::More;
    use Test::Resub qw/ resub /;
    ...
    my $args = $mocker->args;
    # Tests check the args BossClass provided to the chosen constructor
    # and the do_it method are as expected