public function testConstructorModel()
 {
     $users = m::mock('Cartalyst\\Sentinel\\Users\\IlluminateUserRepository');
     $reminders = new IlluminateReminderRepository($users, 'ActivationMock', 259200);
     $this->assertEquals('ActivationMock', $reminders->getModel());
 }
Example #2
0
 /**
  * Returns the model.
  *
  * @return string 
  * @static 
  */
 public static function getModel()
 {
     return \Cartalyst\Sentinel\Reminders\IlluminateReminderRepository::getModel();
 }