METHOD_0 ( ) { METHOD_1 ( IDENT_0 ) ; java . util . List < com . IDENT_1 . domain . model . IDENT_2 > list = new java . util . ArrayList < com . IDENT_1 . domain . model . IDENT_2 > ( ) ; when ( IDENT_0 . METHOD_2 ( any ( com . IDENT_1 . domain . mapper . model . IDENT_3 . class ) ) ) . thenReturn ( list ) ; com . IDENT_1 . domain . model . IDENT_2 ret = IDENT_4 . METHOD_3 ( IDENT_5 ) ; verify ( IDENT_0 ) . METHOD_2 ( METHOD_4 ( new com . IDENT_1 . test . IDENT_6 . IDENT_7 < com . IDENT_1 . domain . mapper . model . IDENT_3 > ( ) { @ com . IDENT_1 . service . IDENT_8 . impl . test . Override public boolean matches ( com . IDENT_1 . domain . mapper . model . common . IDENT_9 example ) { return ( com . IDENT_1 . test . IDENT_6 . IDENT_10 . METHOD_5 ( example , STRING_0 , com . IDENT_1 . service . IDENT_8 . impl . test . IDENT_11 . id ) ) && ( com . IDENT_1 . test . IDENT_6 . IDENT_10 . METHOD_5 ( example , STRING_1 , com . IDENT_1 . service . IDENT_8 . impl . test . IDENT_11 . IDENT_12 ) ) ; } } ) ) ; verify ( IDENT_0 ) . insert ( IDENT_5 ) ; "<AssertPlaceHolder>" ; } insert ( com . IDENT_1 . domain . model . type . IDENT_13 ) { METHOD_6 ( item ) ; }
org . junit . Assert . assertEquals ( IDENT_5 , ret )