### Question:
ForceJPAClassGeneratorUtils { public static String constructPackageName(GetUserInfoResult userInfo) { String orgName = userInfo.getOrganizationName(); if (orgName != null) { String orgNameDenorm = userInfo.getOrganizationName().replaceAll("(,|\\.|\\s)", "").toLowerCase(); return "com." + orgNameDenorm + ".model"; } return "com.force.model"; } private  ForceJPAClassGeneratorUtils(); static String constructPackageName(GetUserInfoResult userInfo); static boolean hasAllCommonFields(DescribeSObjectResult dsr); static String renderJavaName(DescribeSObjectResult dsr, boolean firstCharLowerCase); static boolean useRelationshipName(Field field); static String renderJavaName(Field field, boolean firstCharLowerCase); static final String INDENT; static final String NEWLINE; static final Set<String> ALL_OBJECT_COMMON_FIELDS; static final Set<String> STANDARD_OBJECT_COMMON_FIELDS; static final Set<String> CUSTOM_OBJECT_COMMON_FIELDS; }### Answer:
@Test(dataProvider = "orgNameProvider") public void testConstructPackageName(String orgName, String expectedPackageName) { GetUserInfoResult userInfo = new GetUserInfoResult(); userInfo.setOrganizationName(orgName); assertEquals(ForceJPAClassGeneratorUtils.constructPackageName(userInfo), expectedPackageName, "Unexpected package name built."); }