use strict;
use FindBin qw($Bin);
chdir $Bin;
my $p = eval { Perlanet::Simple->new_with_config(configfile => 'missing') };
ok($@, 'Exception thrown');
like($@, qr(^Cannot open), 'Correct exception thrown');
done_testing();