/** * @test */ public function removeRoleSkipsRemovalIfRoleNotAssigned() { $account = new Account(); $account->setRoles(array($this->role1)); $account->removeRole($this->role2); $this->assertAttributeEquals(array('role1'), 'roles', $account); }