Пример #1
0
 /**
  * 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());
 }
Пример #2
0
 /**
  * Tests the static newDescriptorInstance() method.
  *
  * @return void
  */
 public function testNewDescriptorInstance()
 {
     $this->assertInstanceOf('AppserverIo\\Routlt\\Description\\PathDescriptor', PathDescriptor::newDescriptorInstance());
 }