eZ\Publish\Core\Persistence\Legacy\Tests\Content\Type\Gateway\DoctrineDatabaseTest::testInsertType PHP Method

testInsertType() public method

public testInsertType ( $column, $expectation )
    public function testInsertType($column, $expectation)
    {
        $gateway = $this->getGateway();
        $type = $this->getTypeFixture();
        $gateway->insertType($type);
        $this->assertQueryResult(array(array($expectation)), $this->getDatabaseHandler()->createSelectQuery()->select($column)->from('ezcontentclass'), 'Inserted Type data incorrect in column ' . $column);
    }