public removeRoleSkipsRemovalIfRoleNotAssigned ( ) |
public function removeRoleSkipsRemovalIfRoleNotAssigned()
{
$this->account->setRoles([$this->administratorRole]);
$this->account->removeRole($this->customerRole);
$this->assertCount(1, $this->account->getRoles());
}