/** * @test */ public function setMonthOccuranceForIntegerSetsMonthOccurance() { $this->subject->setMonthOccurance(12); $this->assertAttributeEquals(12, 'monthOccurance', $this->subject); }