예제 #1
0
 /**
  * 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());
 }
예제 #2
0
 /**
  * @return void
  */
 protected function replaceAssets()
 {
     $this->page->replaceAssets();
 }