### Question:
TransactionalBranchService extends AbstractTransactionalEntityService<PoulpeBranch, BranchDao> implements
        BranchService { @Override public void saveBranch(PoulpeBranch selectedBranch) { dao.saveOrUpdate(selectedBranch); } TransactionalBranchService(BranchDao branchDao); @Override List<PoulpeBranch> getAll(); @Override void saveBranch(PoulpeBranch selectedBranch); @Override void deleteBranchRecursively(PoulpeBranch victim); @Override void deleteBranchMovingTopics(PoulpeBranch victim, PoulpeBranch recipient);  }### Answer:
@Test public void testSaveBranchWitoutException() { PoulpeBranch branch = new PoulpeBranch(); branch.setName("new branch"); branch.setDescription("new description"); ArgumentCaptor<PoulpeBranch> branchCaptor = ArgumentCaptor.forClass(PoulpeBranch.class); branchService.saveBranch(branch); verify(branchDao).saveOrUpdate(branchCaptor.capture()); assertEquals(branchCaptor.getValue().getName(), "new branch"); }