code: public function createUserWithRoles($roles, array $fields = [])
      {
          $user = $this->createTestUser($fields);
          $driver = $this->getDriver();
  
          foreach (array_map('trim', explode(',', $roles)) as $role) {
              $driver->userAddRole($user, $role);
          }
  
          return $user;
      }
docs: @param string $roles
  Necessary user roles separated by comma.
  @param array $fields
  
  @return \stdClass