@Test public void shouldReturnLoadBalancerIdFromZxtmName() { String zxtmName = "1234_56"; Integer lbId = ZxtmNameHelper.stripLbIdFromZxtmName(zxtmName); Assert.assertEquals(new Integer(56), lbId); }
public static Integer stripLbIdFromZxtmName(String zxtmName) throws NumberFormatException, ArrayIndexOutOfBoundsException { return Integer.valueOf(zxtmName.split("_")[1]); }
ZxtmNameHelper { public static Integer stripLbIdFromZxtmName(String zxtmName) throws NumberFormatException, ArrayIndexOutOfBoundsException { return Integer.valueOf(zxtmName.split("_")[1]); } }
ZxtmNameHelper { public static Integer stripLbIdFromZxtmName(String zxtmName) throws NumberFormatException, ArrayIndexOutOfBoundsException { return Integer.valueOf(zxtmName.split("_")[1]); }  }
ZxtmNameHelper { public static Integer stripLbIdFromZxtmName(String zxtmName) throws NumberFormatException, ArrayIndexOutOfBoundsException { return Integer.valueOf(zxtmName.split("_")[1]); }  static Integer stripAccountIdFromZxtmName(String zxtmName); static Integer stripLbIdFromZxtmName(String zxtmName); static Map<Integer, Integer> stripLbIdAndAccountIdFromZxtmName(List<String> loadBalancerNames); static Map<Integer, Integer> stripLbIdAndAccountIdFromZxtmName(Collection<LoadBalancerNameMap> loadBalancerNameMaps); }
ZxtmNameHelper { public static Integer stripLbIdFromZxtmName(String zxtmName) throws NumberFormatException, ArrayIndexOutOfBoundsException { return Integer.valueOf(zxtmName.split("_")[1]); }  static Integer stripAccountIdFromZxtmName(String zxtmName); static Integer stripLbIdFromZxtmName(String zxtmName); static Map<Integer, Integer> stripLbIdAndAccountIdFromZxtmName(List<String> loadBalancerNames); static Map<Integer, Integer> stripLbIdAndAccountIdFromZxtmName(Collection<LoadBalancerNameMap> loadBalancerNameMaps); static final Log LOG; }