/** * Tests the setter/getter for the results. * * @return void */ public function testSetGetResults() { $this->descriptor->setResults($results = array(new \stdClass())); $this->assertSame($results, $this->descriptor->getResults()); }
/** * Tests the static newDescriptorInstance() method. * * @return void */ public function testNewDescriptorInstance() { $this->assertInstanceOf('AppserverIo\\Routlt\\Description\\PathDescriptor', PathDescriptor::newDescriptorInstance()); }