eZ\Publish\Core\Repository\Tests\Service\Mock\RepositoryTest::testCommit PHP Method

testCommit() public method

Test for the commit() method.
public testCommit ( )
    public function testCommit()
    {
        $mockedRepository = $this->getRepository();
        $persistenceHandlerMock = $this->getPersistenceMock();
        $persistenceHandlerMock->expects($this->once())->method('commit');
        $mockedRepository->commit();
    }