/** * Tests the buildLookup() method * * @return void * * @since 3.5 */ public function testBuildLookup() { $this->assertEquals(array('*' => array('featured' => '47', 'categories' => array(14 => '48'), 'category' => array(20 => '49'))), $this->object->get('lookup')); $this->object->runBuildLookUp('en-GB'); $this->assertEquals(array('*' => array('featured' => '47', 'categories' => array(14 => '48'), 'category' => array(20 => '49')), 'en-GB' => array('featured' => '51', 'categories' => array(14 => '50'), 'category' => array(20 => '49'))), $this->object->get('lookup')); }