public void testLoadAllScienceProjectsSponsoredBy(){
//assemble core of test requirements
service = new ScienceProjectServiceImpl();
UserDao userDaoMock = createMock(UserDao.class);
ScienceProjectDao spDaoMock = createMock(ScienceProjectDao.class);
((ScienceProjectServiceImpl)service).setUserDao(userDaoMock);
((ScienceProjectServiceImpl)service).setProjectDao(spDaoMock);
// mock the dao's
expect(userDaoMock.findById(sponsor1ID)).andReturn(sponsor1);
expect(userDaoMock.findById(sponsor2ID)).andReturn(sponsor2);
expect(userDaoMock.findById(sponsor3ID)).andReturn(sponsor3);
replay(userDaoMock);
expect(spDaoMock.findSponsoredBy(sponsor1)).andReturn(sponsor1Projects);
expect(spDaoMock.findSponsoredBy(sponsor2)).andReturn(sponsor2Projects);
expect(spDaoMock.findSponsoredBy(sponsor3)).andReturn(sponsor3Projects);
replay(spDaoMock);
//test it
List<ScienceProjectVo> tp1 = service.loadAllScienceProjectsSponsoredBy(sponsor1ID);
List<ScienceProjectVo> tp2 = service.loadAllScienceProjectsSponsoredBy(sponsor2ID);