UserTypeUtil { public static String getClassName(UserType userType) { String name = userType.getName(); return Formatter.toPascalCase(name); } private  UserTypeUtil(); static String getClassName(UserType userType); static String getCanonicalName(UserType userType);  }
@Test void getClassName() { String name = UserTypeUtil.getClassName(message); assertEquals("MessageName", name); }