Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Groovy
Posted by: Jenya Mia
Added: Dec 13, 2019 3:03 PM
Views: 9
Tags: mocking
  1.         Mockito.when(mockService.findQuoteAndQuoteXml(Mockito.anyLong()))
  2.                 .thenReturn(
  3.                     new QuoteDto().with{policySymbol = WORK_COMP
  4.                     rpmSession = new RpmSession(); it}
  5.                 )