Jsor\Doctrine\PostGIS\Types\AbstractTypeTestCase::testConvertToDatabaseValue PHP Method

testConvertToDatabaseValue() public method

    public function testConvertToDatabaseValue()
    {
        $this->assertInternalType('string', $this->type->convertToDatabaseValue('foo', $this->getPlatformMock()));
        $this->assertInternalType('string', $this->type->convertToDatabaseValue('', $this->getPlatformMock()));
    }