public function tesIsObject() { foreach ($this->types as $type => $standard) { $typeReflection = new TypeReflection($type); $this->assertSame(in_array($type, ['object', 'Datetime']), $typeReflection->isObject(), $type); } }
public function testIsObjectWithNull() { $typeReflection = new TypeReflection('null'); $this->assertFalse($typeReflection->isObject()); }