use FindBin;
use lib "$FindBin::Bin/../testapp/lib";
-BEGIN { use_ok 'Catalyst::Test::MessageDriven', 'StompTestApp' };
+BEGIN {
+ use_ok 'Catalyst::Test::MessageDriven', 'StompTestApp' or die;
+};
# successful request - type is minimum attributes
my $req = "---\ntype: ping\n";
$res = request('testcontroller', $req);
ok($res, 'response to empty message');
ok($res->is_error, 'unsuccessful response');
+