adjust comment to make defensiveness clear
[scpubgit/Object-Remote.git] / t / not_found.t
CommitLineData
7f5bfc4d 1use strictures 1;
2use Test::More;
3use Test::Fatal;
4use Sys::Hostname qw(hostname);
5
6$ENV{OBJECT_REMOTE_TEST_LOGGER} = 1;
7
8use Object::Remote::FromData;
9
10my $connection = Object::Remote->connect('-');
11
12
13like exception {
14 my $remote = My::Data::TestClass->new::on($connection);
15}, qr/Can't locate Not\/Found.pm in \@INC/, 'Should fail to load Not::Found';
16
17done_testing;
18
19__DATA__
20package My::Data::TestClass;
21
22use Moo;
23use Not::Found;
24