/** * Tests Tx_Asdis_Domain_Model_Page->scrapeAssets() * @test */ public function scrapeAssets() { $config = $this->getMock('Tx_Asdis_System_Configuration_Provider'); $config->expects($this->any())->method('isReplacementEnabled')->will($this->returnValue(FALSE)); $this->page->injectConfigurationProvider($config); $this->assertNull($this->page->scrapeAssets()); }
/** * @return void */ protected function replaceAssets() { $this->page->replaceAssets(); }