@Test public void testGetEventKey() { assertEquals("2015arc", EventTeamHelper.getEventKey("2015arc_frc111")); }
public static String getEventKey(String eventTeamKey) { return eventTeamKey.split("_")[0]; }
EventTeamHelper { public static String getEventKey(String eventTeamKey) { return eventTeamKey.split("_")[0]; } }
EventTeamHelper { public static String getEventKey(String eventTeamKey) { return eventTeamKey.split("_")[0]; } private  EventTeamHelper(); }
EventTeamHelper { public static String getEventKey(String eventTeamKey) { return eventTeamKey.split("_")[0]; } 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 getEventKey(String eventTeamKey) { return eventTeamKey.split("_")[0]; } private  EventTeamHelper(); static String generateKey(String eventKey, String teamKey); static String getEventKey(String eventTeamKey); static String getTeamKey(String eventTeamKey); static boolean validateEventTeamKey(String key);  }