test update existing deal concode_field_sep DealDao dealDao concode_elem_sep DealServiceImpl dealServiceImpl concode_field_sep void testGetDealsByInvalidProviderByProduct concode_elem_sep void testGetDealsByProvider concode_elem_sep void testGetDealsByInvalidProviderByInvalidProduct concode_elem_sep void testGetDealsByProviderByProductByPriceFromDate concode_elem_sep void testGetDealsByProviderByInvalidProduct concode_elem_sep void testGetDealsByProviderByProductByInvalidPrice concode_elem_sep void testGetDealsByProduct concode_elem_sep void testGetDealsByInvalidIdProduct concode_elem_sep void testGetDealsFromPrice concode_elem_sep void testGetDealsByDateRange concode_elem_sep void testAddNullDeal concode_elem_sep void setUp concode_elem_sep void testGetInvalidIdDeal concode_elem_sep void testGetDealsFromInvalidPrice concode_elem_sep void testGetDealsByDateRangeFromAndToNull concode_elem_sep void testAddNewDeal concode_elem_sep void testUpdateNullDeal concode_elem_sep void testGetDealsFromDate concode_elem_sep void testGetDealsByDateRangeFromNull concode_elem_sep void testGetDealsByProviderByProductByPrice concode_elem_sep void testGetDealsByInvalidProvider concode_elem_sep void testGetDeal concode_elem_sep void testGetDealsByProviderByProduct concode_elem_sep void tearDown concode_elem_sep void testGetDealsFromNullDate concode_elem_sep void testGetDealsList concode_elem_sep void testGetDealsByDateRangeToNull concode_elem_sep void testUpdateNonExistentDeal
void function ( ) { Deal loc0 = new Deal ( ) ; loc0 . setId ( 1 ) ; dealDao . updateDeal ( loc0 ) ; EasyMock . expectLastCall ( ) . times ( 1 ) ; EasyMock . expect ( dealDao . getDeal ( 1 ) ) . andReturn ( loc0 ) ; replay ( dealDao ) ; dealServiceImpl . updateDeal ( loc0 ) ; verify ( dealDao ) ; }