@Test public void testGetTeamKey() { assertEquals("frc111", EventTeamHelper.getTeamKey("2015arc_frc111")); assertEquals("frc111B", EventTeamHelper.getTeamKey("2015arc_frc111B")); }
public static String getTeamKey(String eventTeamKey) { return eventTeamKey.split("_")[1]; }
EventTeamHelper { public static String getTeamKey(String eventTeamKey) { return eventTeamKey.split("_")[1]; } }
EventTeamHelper { public static String getTeamKey(String eventTeamKey) { return eventTeamKey.split("_")[1]; } private  EventTeamHelper(); }
EventTeamHelper { public static String getTeamKey(String eventTeamKey) { return eventTeamKey.split("_")[1]; } private  EventTeamHelper(); static String generateKey(String eventKey, String teamKey); static String getEventKey(String eventTeamKey); static String getTeamKey(String eventTeamKey); static boolean validateEventTeamKey(String key); }
EventTeamHelper { public static String getTeamKey(String eventTeamKey) { return eventTeamKey.split("_")[1]; } private  EventTeamHelper(); static String generateKey(String eventKey, String teamKey); static String getEventKey(String eventTeamKey); static String getTeamKey(String eventTeamKey); static boolean validateEventTeamKey(String key);  }