add begin.t from Method::Signatures
[p5sagit/Function-Parameters.git] / t / foreign / MooseX-Method-Signatures / precedence.t
CommitLineData
1a52f2db 1#!perl
595edbcf 2use strict;
1a52f2db 3use warnings FATAL => 'all';
595edbcf 4use Test::More tests => 4;
5
6use Function::Parameters qw(:strict);
7
8my @methods = (method { 1 }, method { 2 }, method { 3 });
9is(scalar @methods, 3);
10
11isa_ok($_, 'CODE') for @methods;