### Question:
TransactionalBranchService extends AbstractTransactionalEntityService<PoulpeBranch, BranchDao> implements
        BranchService { @Override public List<PoulpeBranch> getAll() { return dao.getAll(); } 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 getAllTest() { List<PoulpeBranch> expectedBranchList = new ArrayList<PoulpeBranch>(); expectedBranchList.add(new PoulpeBranch()); when(branchDao.getAll()).thenReturn(expectedBranchList); List<PoulpeBranch> actualBranchList = branchService.getAll(); assertEquals(actualBranchList, expectedBranchList); verify(branchDao).getAll(); }