. * * @package LibreNMS * @link http://librenms.org * @copyright 2018 Tony Murray * @author Tony Murray */ namespace LibreNMS\Tests; trait SnmpsimHelpers { public function requireSnmpsim() { if (!getenv('SNMPSIM')) { $this->markTestSkipped('Snmpsim required for this test. Set SNMPSIM=1 to enable.'); } } }