App { public static void main(String[] args) { HeroStat statA = HeroStat.valueOf(10, 5, 0); HeroStat statB = HeroStat.valueOf(10, 5, 0); HeroStat statC = HeroStat.valueOf(5, 1, 8); LOGGER.info(statA.toString()); LOGGER.info("Is statA and statB equal : {}", statA.equals(statB)); LOGGER.info("Is statA and statC equal : {}", statA.equals(statC)); }  static void main(String[] args);  }
@Test public void test() { String[] args = {}; App.main(args); }