public function testSetBrokerPart() { $myTestTemplate = new Template('myTestTemplate'); $myTestTemplate->setBrokerPart(new Broker(CENTREON_PATH . $this->dataPath)); $this->assertInstanceOf('\\CentreonConfiguration\\Internal\\Poller\\Template\\Broker', $myTestTemplate->getBrokerPart()); }