Doctrine\Tests\OXM\Types\FloatTest::testIntegerConvertsToPHPValue PHP Method

testIntegerConvertsToPHPValue() public method

    public function testIntegerConvertsToPHPValue()
    {
        $this->assertInternalType('float', $this->_type->convertToPHPValue('1'));
        $this->assertInternalType('float', $this->_type->convertToPHPValue('1.1'));
        $this->assertInternalType('float', $this->_type->convertToPHPValue('0'));
    }