Test::CallFlow::ArgCheck::Any - Test::CallFlow::ArgCheck::Any documentation


Test-CallFlow documentation Contained in the Test-CallFlow distribution.

Index


Code Index:

Test::CallFlow::ArgCheck::Any

Top

SYNOPSIS

Top

  die "Impossible" unless defined
    my $equality =
      Test::CallFlow::ArgCheck::Any
        ->new( test => 'man' )
          ->check( 1, [ 'child', 'woman' ] );

Use objects of this class to pass one or more arguments without checking in a call to a mocked function.

FUNCTIONS

Top

check

Always returns 1.


Test-CallFlow documentation Contained in the Test-CallFlow distribution.

package Test::CallFlow::ArgCheck::Any;
use strict;
use base 'Test::CallFlow::ArgCheck';

sub check { 1 }

1;