Search in sources :

Example 1 with AdminRoleImpl

use of org.broadleafcommerce.openadmin.server.security.domain.AdminRoleImpl in project BroadleafCommerce by BroadleafCommerce.

the class AdminRoleDataProvider method createAdminRole.

@DataProvider(name = "setupAdminRole")
public static Object[][] createAdminRole() {
    AdminRole adminRole = new AdminRoleImpl();
    adminRole.setName("TestAdminUserRole");
    adminRole.setDescription("Test Admin Role");
    return new Object[][] { new Object[] { adminRole } };
}
Also used : AdminRoleImpl(org.broadleafcommerce.openadmin.server.security.domain.AdminRoleImpl) AdminRole(org.broadleafcommerce.openadmin.server.security.domain.AdminRole) DataProvider(org.testng.annotations.DataProvider)

Aggregations

AdminRole (org.broadleafcommerce.openadmin.server.security.domain.AdminRole)1 AdminRoleImpl (org.broadleafcommerce.openadmin.server.security.domain.AdminRoleImpl)1 DataProvider (org.testng.annotations.DataProvider)1