// create test static data
User user = UserServiceExampleData.getUser1();
new_objs.add(user);
del_objs.push(user);
Project p = new Project();
p.setProjectState(ProjectState.OPENED);
p.setProjectNumber("0001");
p.setProjectName("TestProject1");
DayPeriod dp = new DayPeriod();
Calendar cal = Calendar.getInstance();
cal.set(Calendar.DAY_OF_MONTH, 1);
cal.set(Calendar.MONTH, Calendar.JANUARY);
cal.set(Calendar.YEAR, 2005);
dp.setBegin(cal.getTime());
cal = Calendar.getInstance();
cal.set(Calendar.DAY_OF_MONTH, 1);
cal.set(Calendar.MONTH, Calendar.JANUARY);
cal.set(Calendar.YEAR, 2006);
dp.setEnd(cal.getTime());
p.setProjectPeriod(dp);
p.setBudget(new BigDecimal("1000.00").setScale(2, BigDecimal.ROUND_HALF_UP));
new_objs.add(p);
del_objs.push(p);
ProjectActivity pa = new ProjectActivity();
pa.setProject(p);