/** * @test */ public function setClickedLastMonthForStringSetsClickedLastMonth() { $this->fixture->setClickedLastMonth('Conceived at T3CON10'); $this->assertSame('Conceived at T3CON10', $this->fixture->getClickedLastMonth()); }
protected function setStatisticsForNewMonth(Tx_Randombanners_Domain_Model_Banner $banner) { $banner->setClickedLastMonth($banner->getClickedThisMonth()); $banner->setDisplayedLastMonth($banner->getDisplayedThisMonth()); $banner->setDisplayedThisMonth(0); $banner->setClickedThisMonth(0); }