Esempio n. 1
0
 public function testGetType()
 {
     $intObj = new InternalType\NumericObject(100);
     $obj = new InternalType\IndirectObject($intObj, 1, 0, new ObjectFactory(1));
     $this->assertEquals($obj->getType(), $intObj->getType());
 }
Esempio n. 2
0
 public function testGetType()
 {
     $intObj = new InternalType\NumericObject(100);
     $this->assertEquals($intObj->getType(), InternalType\AbstractTypeObject::TYPE_NUMERIC);
 }