#!/usr/bin/perl
+# This is automatically generated by author/import-moose-test.pl.
+# DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!!
+use t::lib::MooseCompat;
use strict;
use warnings;
use Test::More;
-BEGIN{
- if(eval{ require Class::Method::Modifiers::Fast } || eval{ require Class::Method::Modifiers }){
- plan tests => 20;
- }
- else{
- plan skip_all => 'This test requires Class::Method::Modifiers(::Fast)?';
- }
-}
use Test::Exception;
+
## Roles
{
ok(!defined($at_least_10_chars->validate('barrrrrrrrr')), '... validated correctly');
is($at_least_10_chars->validate('bar'), 'must be at least 10 chars', '... validation failed correctly');
+done_testing;