### Question:
PoulpeBranch extends Branch { public PoulpeSection moveTo(@Nonnull PoulpeSection target) { PoulpeSection removeFrom = (PoulpeSection) getSection(); if (!target.equals(removeFrom)) { removeFrom.deleteBranch(this); target.addOrUpdateBranch(this); this.setSection(target); } return removeFrom; } PoulpeBranch();  PoulpeBranch(String name);  PoulpeBranch(String name, String description); PoulpeSection moveTo(@Nonnull PoulpeSection target); @NotNull(message = "{sections.moderating_group.not_null_constraint}") @Override Group getModeratorsGroup(); PoulpeSection getPoulpeSection(); @Override String toString(); PoulpeSection removeFromSection();  }### Answer:
@Test(dataProvider = "provideBranchWithSection") public void testMoveTo_sectionUpdatesItsBranches(PoulpeBranch branch) throws Exception { PoulpeSection addTo = new PoulpeSection("section2"); branch.moveTo(addTo); assertTrue(addTo.containsBranch(branch)); }