METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 . service . IDENT_3 IDENT_4 = METHOD_1 ( IDENT_5 ) ; METHOD_2 ( IDENT_6 . METHOD_3 ( ) ) . METHOD_4 ( com . IDENT_0 . IDENT_1 . IDENT_2 . service . IDENT_7 . IDENT_8 ) ; METHOD_2 ( IDENT_6 . METHOD_5 ( com . IDENT_0 . IDENT_1 . IDENT_2 . service . IDENT_3 . IDENT_9 ) ) . METHOD_4 ( Boolean . IDENT_10 ) ; doReturn ( 1 ) . when ( METHOD_1 ) . METHOD_6 ( com . IDENT_0 . IDENT_1 . IDENT_2 . service . IDENT_7 . IDENT_8 ) ; boolean result = METHOD_1 . METHOD_7 ( ) ; verify ( IDENT_6 ) . METHOD_3 ( ) ; verify ( IDENT_6 ) . METHOD_5 ( com . IDENT_0 . IDENT_1 . IDENT_2 . service . IDENT_3 . IDENT_9 ) ; verify ( METHOD_1 ) . METHOD_6 ( com . IDENT_0 . IDENT_1 . IDENT_2 . service . IDENT_7 . IDENT_8 ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( java . lang . Long ) { com . IDENT_0 . model . api . IDENT_11 IDENT_12 = METHOD_8 ( ) . get ( IDENT_13 ) . METHOD_9 ( IDENT_14 . IDENT_15 ) ; com . IDENT_0 . model . api . search . IDENT_16 IDENT_17 = com . IDENT_0 . model . api . search . IDENT_18 . METHOD_10 ( ) ; METHOD_10 . add ( eq ( IDENT_19 . IDENT_20 , IDENT_21 . IDENT_22 . METHOD_11 ( ) ) ) ; METHOD_10 . add ( eq ( IDENT_19 . IDENT_23 , Boolean . IDENT_10 ) ) ; METHOD_10 . add ( METHOD_12 ( STRING_0 ) ) ; com . IDENT_0 . model . api . search . IDENT_24 IDENT_25 = METHOD_13 ( ) . find ( ) ; if ( ! ( IDENT_12 . isEmpty ( ) ) ) { IDENT_25 . METHOD_14 ( IDENT_19 . IDENT_26 , STRING_1 , IDENT_27 . IDENT_28 ) ; IDENT_25 . METHOD_14 ( IDENT_19 . IDENT_29 , STRING_2 , IDENT_27 . IDENT_28 ) ; java . util . Set < java . lang . Long > IDENT_30 = IDENT_12 . stream ( ) . map ( ( IDENT_31 ) -> IDENT_31 . METHOD_15 ( IDENT_32 . IDENT_33 ) ) . map ( Entity :: getId ) . collect ( java . util . stream . IDENT_34 . METHOD_16 ( ) ) ; METHOD_10 . add ( METHOD_17 ( in ( STRING_3 , IDENT_30 ) , in ( STRING_4 , IDENT_30 ) ) ) ; } IDENT_25 . add ( METHOD_10 ) ; return IDENT_25 . list ( ) . METHOD_18 ( ) ; }
org . junit . Assert . assertTrue ( result )