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

testInsertTypeContentClassName() public method

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