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

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

public testDeleteOldType ( )
    public function testDeleteOldType()
    {
        $handler = $this->getUpdateHandler();
        $gatewayMock = $this->getGatewayMock();
        $gatewayMock->expects($this->once())->method('delete')->with($this->equalTo(23), $this->equalTo(0));
        $types = $this->getTypeFixtures();
        $handler->deleteOldType($types['from'], $types['to']);
    }