use of org.opennms.netmgt.config.poller.Package in project opennms by OpenNMS.
the class PollerQueryManagerDaoIT method testIsRemotePackage.
//
// Tests
//
@Test
public void testIsRemotePackage() {
Properties p = new Properties();
p.setProperty("org.opennms.netmgt.ConfigFileConstants", "ERROR");
MockLogAppender.setupLogging(p);
Package pkg = new Package();
pkg.setName("SFO");
pkg.setRemote(true);
Poller poller = new Poller();
assertFalse(poller.pollableServiceInPackage(null, null, pkg));
poller = null;
}
Aggregations