@Test public void testGenerateKey() { String teamKey = "frc1124"; String districtKey = "2015ne"; String districtTeamKey = DistrictTeamHelper.generateKey(teamKey, districtKey); assertEquals(districtTeamKey, "2015ne_frc1124"); }
public static String generateKey(String teamKey, String districtKey) { return districtKey + "_" + teamKey; }
DistrictTeamHelper { public static String generateKey(String teamKey, String districtKey) { return districtKey + "_" + teamKey; } }
DistrictTeamHelper { public static String generateKey(String teamKey, String districtKey) { return districtKey + "_" + teamKey; } private  DistrictTeamHelper(); }
DistrictTeamHelper { public static String generateKey(String teamKey, String districtKey) { return districtKey + "_" + teamKey; } private  DistrictTeamHelper(); static boolean validateDistrictTeamKey(String key); static String getDistrictKey(String districtTeamKey); static String getTeamKey(String districtTeamKey); static String generateKey(String teamKey, String districtKey); }
DistrictTeamHelper { public static String generateKey(String teamKey, String districtKey) { return districtKey + "_" + teamKey; } private  DistrictTeamHelper(); static boolean validateDistrictTeamKey(String key); static String getDistrictKey(String districtTeamKey); static String getTeamKey(String districtTeamKey); static String generateKey(String teamKey, String districtKey);  }