eZ\Publish\Core\Persistence\Legacy\Tests\Content\Language\CachingLanguageHandlerTest::testLoadAll PHP Method

testLoadAll() public method

public testLoadAll ( )
    public function testLoadAll()
    {
        $this->expectCacheInitialize();
        $handler = $this->getLanguageHandler();
        $cacheMock = $this->getLanguageCacheMock();
        $cacheMock->expects($this->once())->method('getAll')->will($this->returnValue(array()));
        $result = $handler->loadAll();
        $this->assertInternalType('array', $result);
    }