public function testUserFillableAttributesAreFillable() { $u = new User(array('first_name' => 'Joe', 'last_name' => 'Bloggs', 'email' => '*****@*****.**')); $this->assertEquals($u->getFirstName(), 'Joe'); $this->assertEquals($u->getLastName(), 'Bloggs'); $this->assertEquals($u->getReminderEmail(), '*****@*****.**'); }
/** * {@inheritDoc} */ public function update(User $user, array $attributes = array()) { $user->fill($attributes); }