/** * Try to get the iron worker object */ public function testGetWorker() { //Disconnect all services self::$iio->disconnect(); //Try worker only self::$iio->services = array('worker'); self::$iio->connect(); $worker = self::$iio->getRawWorker(); $this->assertInstanceOf('IronWorker', $worker); }