TODO tests for UNIVERSAL methods
[gitmo/Moose.git] / t / 010_basics / 018_universal_methods.t
CommitLineData
6c13ef0d 1#!perl
2
3use strict;
4use warnings;
5
6use Test::More;
7
8{
9 package Foo;
10 use Moose;
11}
12
13
14plan tests => scalar ( my @universal_methods = qw/isa can VERSION/ );
15
16my $foo = Foo->new;
17
18TODO: {
19 local $TODO = 'UNIVERSAL methods should be available';
20
21 for my $method ( @universal_methods ) {
22 ok $foo->meta->find_method_by_name($method), "has UNIVERSAL method $method";
23 }
24};