AbstractUserAndRolesFixtureScript

Convenience fixture script intended to be easily subclassed in order to set up an ApplicationUser with associated roles.

API

AbstractUserAndRolesFixtureScript.java
class AbstractUserAndRolesFixtureScript {
  AbstractUserAndRolesFixtureScript(String username, String password, AccountType accountType, Can<String> roleNames)
  AbstractUserAndRolesFixtureScript(Supplier<String> usernameSupplier, Supplier<String> passwordSupplier, Supplier<AccountType> accountTypeSupplier, Supplier<Can<String>> roleNamesSupplier)
  AbstractUserAndRolesFixtureScript(String username, String password, String emailAddress, String tenancyPath, AccountType accountType, Can<String> roleNames)
  AbstractUserAndRolesFixtureScript(Supplier<String> usernameSupplier, Supplier<String> passwordSupplier, Supplier<String> emailAddressSupplier, Supplier<String> tenancyPathSupplier, Supplier<AccountType> accountTypeSupplier, Supplier<Can<String>> roleNamesSupplier)
  FixtureScripts.MultipleExecutionStrategy getMultipleExecutionStrategy()
}