public function MomentCanBeSetRight($moment) { $period = $this->createPeriod(SubscriptionPeriod::UNIT_DAILY, 12, $moment); $this->assertEquals($moment, $period->getMoment()); }