/** * @test */ public function setYearlyForIntegerSetsYearly() { $this->subject->setYearly(12); $this->assertAttributeEquals(12, 'yearly', $this->subject); }