import org.testng.annotations.DataProvider;
public class AdminPermissionDataProvider {
@DataProvider(name = "setupAdminPermission")
public static Object[][] createAdminUser() {
AdminPermission adminPermission = new AdminPermissionImpl();
adminPermission.setName("TestAdminPermissionName");
adminPermission.setDescription("Test Admin Permission Description");
adminPermission.setType(PermissionType.ALL);
return new Object[][] { new Object[] { adminPermission } };
}