()
| 157 | } |
| 158 | |
| 159 | @Test |
| 160 | public void addChild() throws Exception { |
| 161 | final Branch branch = buildTestBranch(tree); |
| 162 | final Branch child = new Branch(tree.getTreeId()); |
| 163 | assertTrue(branch.addChild(child)); |
| 164 | assertEquals(3, branch.getBranches().size()); |
| 165 | assertEquals(2, branch.getLeaves().size()); |
| 166 | } |
| 167 | |
| 168 | @Test |
| 169 | public void addChildNoLocalBranches() throws Exception { |
nothing calls this directly
no test coverage detected