assertSame(0, $weekStat->getCount()); $count = 1; $weekStat->setCount($count); $this->assertSame($count, $weekStat->getCount()); $weekStat->addToCount($count); $this->assertSame($count * 2, $weekStat->getCount()); } }