Help for this page

Select Code to Download


  1. or download this
    package Test::MockFile::Light;
    
    ...
    
    1;
    
  2. or download this
    package Foo::Bar;
    
    ...
    }
    
    1;
    
  3. or download this
    use Test::More tests => 3;
    use Test::MockFile::Light module => 'Foo::Bar';
    ...
    can_ok(Foo::Bar, 'process');
    
    is(Foo::Bar->process($file_name), 15, 'unexpected sum');