### Question:
StringHelper { public static boolean specifiesBlockData(String materialString) { int indexOfColon = materialString.lastIndexOf(":"); if (indexOfColon > 0) { String blockDataString = materialString.substring(indexOfColon + 1); try { Integer.parseInt(blockDataString); return true; } catch (NumberFormatException e) { } } return false; } private  StringHelper(); static String join(final Collection<?> coll, final String glue); static String join(final Object[] list, final String glue); static String toComputerFriendlyName(String name); static int readInt(String string, int minValue, int maxValue); static double readDouble(String string, double minValue, double maxValue); static String[] readCommaSeperatedString(String line); static boolean specifiesBlockData(String materialString); static long readLong(String string, long minValue, long maxValue);  }### Answer:
@Test public void testSpecifiesBlockData() { assertFalse(StringHelper.specifiesBlockData("wool")); assertTrue(StringHelper.specifiesBlockData("wool:0")); assertTrue(StringHelper.specifiesBlockData("wool:1")); assertFalse(StringHelper.specifiesBlockData("minecraft:wool")); assertTrue(StringHelper.specifiesBlockData("minecraft:wool:0")); assertTrue(StringHelper.specifiesBlockData("minecraft:wool:1")); }