public function test_can_set_last_attempt() { $date = Carbon::now(); $this->entity->setLastAttemptAt(new LastAttemptAt($date)); $this->assertEquals($date, $this->entity->getLastAttemptAt()->getDate()); }
public function test_can_set_last_attempt() { $date = Carbon::now(); $this->entity->setLastAttemptAt(new LastAttemptAt($date)); $this->assertEquals($date, $this->entity->getLastAttemptAt()->getDate()); }