Ejemplo n.º 1
0
 /**
  * Tests the recovery of internal objects value.
  */
 public function testInvokeResult()
 {
     $objects = new Objects();
     $objects[0] = new resources\foo();
     $objects[1] = new resources\foo();
     $this->assertSame(array('foo from foo', 'foo from foo'), $objects->invoke('getFoo'));
 }