public function testIsInteger() { foreach ($this->types as $type => $standard) { $typeReflection = new TypeReflection($type); $this->assertSame(in_array($type, ['int', 'integer', 'long']), $typeReflection->isInteger(), $type); } }
public function testIsIntegerWithLong() { $typeReflection = new TypeReflection('long'); $this->assertTrue($typeReflection->isInteger()); }