public void testFindByProjectPersistanceId() {
Set<Iteration> set = new HashSet<Iteration>();
Iteration iteration1 = new IterationImpl();
Project basicProject1 = new ProjectImpl();
iteration1.setProject(basicProject1);
iteration1.setStartDate(new Date());
Iteration iteration2 = new IterationImpl();
Project basicProject2 = new ProjectImpl();
iteration2.setProject(basicProject2);
iteration2.setStartDate(new Date());
iteration2.setEndDate(new Date());
set.add(iteration1);
set.add(iteration2);
mockIterationMapper.expectFindByProjectPersistanceId(1, set);
Project basicProjectToReturn = new ProjectImpl();
MockCore.startBlock();
mockBasicProjectProxyUtil.expectInjectDependencies(basicProject2, basicProjectToReturn);
mockBasicProjectProxyUtil.expectInjectDependencies(basicProject1, basicProjectToReturn);