use strict;
use warnings;
-use Test::More tests => 12;
+use Test::More tests => 13;
use Test::Exception;
BEGIN {
my $type = find_type_constraint("Foo");
+is( $type->class, "Foo", "class attribute" );
+
ok( $type->is_subtype_of("Gorch"), "subtype of gorch" );
ok( $type->is_subtype_of("Bar"), "subtype of bar" );