/** * @test */ public function setMonthlyForIntegerSetsMonthly() { $this->subject->setMonthly(12); $this->assertAttributeEquals(12, 'monthly', $this->subject); }