### Question:
XmlUtils { public static boolean isNcNameCharacter(char ch) { return CHARS[ch] < 0; } private  XmlUtils(); static boolean isNcNameStartCharacter(char ch); static boolean isNcNameCharacter(char ch); static String createValidId(String value);  }### Answer:
@Test public void testIncorrectNcCharacter() { assertFalse(XmlUtils.isNcNameCharacter('&')); assertFalse(XmlUtils.isNcNameCharacter('$')); assertFalse(XmlUtils.isNcNameCharacter('%')); assertFalse(XmlUtils.isNcNameCharacter('>')); assertFalse(XmlUtils.isNcNameCharacter('£')); assertFalse(XmlUtils.isNcNameCharacter(' ')); }
@Test public void testValidNcCharacter() { assertTrue(XmlUtils.isNcNameCharacter('1')); assertTrue(XmlUtils.isNcNameCharacter('_')); assertTrue(XmlUtils.isNcNameCharacter('-')); assertTrue(XmlUtils.isNcNameCharacter('a')); assertTrue(XmlUtils.isNcNameCharacter('Ф')); assertTrue(XmlUtils.isNcNameCharacter('月')); }