### Question:
ConceptBreakdown { public ConceptBreakdown getCodeBreakdown(String conceptCode) { ConceptBreakdown bdinfo = isMyConceptCode(conceptCode) ? this : null; if (bdinfo != null) { return bdinfo; } int pathPosition = conceptCode.indexOf('\\'); if (pathPosition > 0) { String parentCode = conceptCode.substring(0, pathPosition); String childCode = conceptCode.substring(pathPosition + 1); if (isMyConceptCode(parentCode)) { return getChildBreakdown(childCode); } } else { return getChildBreakdown(conceptCode); } return null; } ConceptBreakdown(String conceptCode);   ConceptBreakdown(String parentConceptCode, String conceptCode); String getConceptCode(); void setConceptCode(String code); String getParentConceptCode(); void setParentConceptCode(String parentConceptCode); Float getFactor(); void setFactor(Float factor); Float getPerformance(); void setPerformance(Float performance); Iterable<ConceptBreakdown> getChildBreakdownInfos(); ConceptBreakdown getCodeBreakdown(String conceptCode); Measurement getMeasurement(); void setMeasurement(Measurement measurement); boolean isWorkPackage(); @Override String toString();  }### Answer:
@Test public void testGetSubchapter() { assertEquals(child, root.getCodeBreakdown("root##\\child#")); assertEquals(grandchild, root.getCodeBreakdown("root##\\child#\\grandchild")); }
@Test public void testGetChapterFromConceptWithSymbols() { assertEquals(root, root.getCodeBreakdown("root##")); assertEquals(child, root.getCodeBreakdown("child#")); assertEquals(grandchild, root.getCodeBreakdown("grandchild")); }
@Test public void testGetChapterFromConceptWithPathAndSymbols() { assertEquals(child, root.getCodeBreakdown("root##\\child#")); assertEquals(grandchild, root.getCodeBreakdown("root##\\child#\\grandchild")); assertNull(root.getCodeBreakdown("root##\\nochapter")); }