#!/usr/bin/env perl
use strict;
use warnings;
-use Test::More tests => 10;
+use Test::More tests => 11;
use Test::Exception;
lives_ok {
::is(blessed($obj), "Impromptu::Class");
};
+throws_ok {
+ package Class;
+ use Mouse;
+
+ with 'Role', 'Other::Role';
+} qr/Mouse::Role only supports 'with' on individual roles at a time/;
+