public function tesIsBoolean() { foreach ($this->types as $type => $standard) { $typeReflection = new TypeReflection($type); $this->assertSame(in_array($type, ['bool', 'boolean']), $typeReflection->isBoolean(), $type); } }
public function testIsBooleanLong() { $typeReflection = new TypeReflection('boolean'); $this->assertTrue($typeReflection->isBoolean()); }