### Question:
NumberNode { public boolean isSimpleNumber() { return isSimpleNumber; } NumberNode(String number); NumberNode createOrGetChildNumber(String numberPattern); NumberNode findMatchingChild(String number); boolean isMatch(String number); boolean isSimpleNumber(); boolean isAllAccept();  }### Answer:
@Test public void createSimpleNode() { NumberNode node = new NumberNode("10"); assertTrue(node.isSimpleNumber()); }
@Test public void createPatternNodeWith128_25() { NumberNode node = new NumberNode("128/25"); assertFalse(node.isSimpleNumber()); assertNodeMatch(node, 128, 255, true); assertNodeMatch(node, 0, 127, false); }
@Test public void createPatternNodeWith8_30() { NumberNode node = new NumberNode("8/30"); assertFalse(node.isSimpleNumber()); assertNodeMatch(node, 8, 11, true); assertNodeMatch(node, 0, 7, false); assertNodeMatch(node, 12, 255, false); }