GregorianCalendar startDate = null;
GregorianCalendar endDate = null;
Collection<Price> list= new ArrayList<Price>();
IPriceDAO dao= EasyMock.createMock(IPriceDAO.class);
PriceManager manager= new PriceManager();
expect(dao.getPricesOnDateRange(startDate, endDate, typ)).andReturn((ArrayList<Price>) list);
manager.setDAO(dao);
replay(dao);
manager.getPricesOnDateRange(startDate, endDate,typ);
verify(dao);
}