eZ\Publish\Core\Persistence\Legacy\Tests\Content\Type\UpdateHandler\DoctrineDatabaseTest::testDeleteOldType PHP Method

testDeleteOldType() public method

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']);
    }