Exemplo n.º 1
0
 function testGetClass()
 {
     $o1 = new lmbObject();
     $this->assertEqual($o1->getClass(), 'lmbObject');
     $o2 = new ObjectTestVersion($this);
     $this->assertEqual($o2->getClass(), 'ObjectTestVersion');
 }
Exemplo n.º 2
0
 function testGetClass()
 {
     $wrapped = new lmbObject();
     $proxy = new ProxyTestingStub($wrapped);
     $this->assertEqual($proxy->getClass(), $wrapped->getClass());
 }