/** * @param boolean|integer|float|string|array|object|resource|null $value * @param boolean $castable * @dataProvider booleanCastableProvider */ public function testIsBooleanCastable($value, $castable) { $this->assertSame($castable, BooleanType::isBooleanCastable($value)); }