@Test public void testCreateEventKey() { String eventKey = "2015cthar"; int awardEnum = 12; String awardKey = AwardHelper.createAwardKey(eventKey, awardEnum); assertEquals("2015cthar:12", awardKey); }
public static String createAwardKey(String eventKey, int awardEnum) { return eventKey + ":" + awardEnum; }
AwardHelper { public static String createAwardKey(String eventKey, int awardEnum) { return eventKey + ":" + awardEnum; } }
AwardHelper { public static String createAwardKey(String eventKey, int awardEnum) { return eventKey + ":" + awardEnum; } private  AwardHelper(); }
AwardHelper { public static String createAwardKey(String eventKey, int awardEnum) { return eventKey + ":" + awardEnum; } private  AwardHelper(); static boolean validateAwardKey(String key); static String createAwardKey(String eventKey, int awardEnum); }
AwardHelper { public static String createAwardKey(String eventKey, int awardEnum) { return eventKey + ":" + awardEnum; } private  AwardHelper(); static boolean validateAwardKey(String key); static String createAwardKey(String eventKey, int awardEnum);  }