moved probe classes to ::Probe:: namespace
[scpubgit/System-Introspector.git] / t / nagios-checkmkagent.t
index 2fee140..77a7412 100644 (file)
@@ -1,10 +1,10 @@
 use strictures 1;
 use Test::More;
 
-use System::Introspector::Nagios::CheckMkAgent;
+use System::Introspector::Probe::Nagios::CheckMkAgent;
 
 no warnings 'redefine';
-*System::Introspector::Nagios::CheckMkAgent::_get_check_mk_agent_output = sub {
+*System::Introspector::Probe::Nagios::CheckMkAgent::_get_check_mk_agent_output = sub {
     return map "$_\n",
         '<<<foo>>>',
         'bar',
@@ -14,7 +14,7 @@ no warnings 'redefine';
         'qux';
 };
 
-my $probe = System::Introspector::Nagios::CheckMkAgent->new;
+my $probe = System::Introspector::Probe::Nagios::CheckMkAgent->new;
 my $data = $probe->gather;
 
 is_deeply $data,