예제 #1
0
 public function test_can_set_last_login()
 {
     $date = Carbon::now();
     $this->entity->setLastLoginAt(new LastLoginAt($date));
     $this->assertEquals($date, $this->entity->getLastLoginAt()->getDate());
 }