eZ\Publish\Core\Persistence\Legacy\Tests\Content\Type\UpdateHandler\DoctrineDatabaseTest::testPublishNewType PHP Метод

testPublishNewType() публичный Метод

public testPublishNewType ( )
    public function testPublishNewType()
    {
        $handler = $this->getUpdateHandler();
        $gatewayMock = $this->getGatewayMock();
        $updaterMock = $this->getContentUpdaterMock();
        $gatewayMock->expects($this->once())->method('publishTypeAndFields')->with($this->equalTo(23), $this->equalTo(1), $this->equalTo(0));
        $types = $this->getTypeFixtures();
        $handler->publishNewType($types['to'], 0);
    }