METHOD_0 ( ) { org . apache . IDENT_0 . db . IDENT_1 IDENT_2 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . db . IDENT_1 . class ) ; org . apache . IDENT_0 . view . IDENT_3 IDENT_4 = METHOD_1 ( ) ; org . apache . IDENT_0 . entity . IDENT_5 user = new org . apache . IDENT_0 . entity . METHOD_2 ( ) ; user . METHOD_3 ( METHOD_1 . METHOD_4 ( ) ) ; user . METHOD_5 ( METHOD_1 . METHOD_6 ( ) ) ; user . METHOD_7 ( METHOD_1 . METHOD_8 ( ) ) ; user . METHOD_9 ( METHOD_1 . METHOD_10 ( ) ) ; user . METHOD_11 ( METHOD_1 . METHOD_12 ( ) ) ; user . METHOD_13 ( METHOD_1 . METHOD_14 ( ) ) ; user . METHOD_15 ( METHOD_1 . METHOD_16 ( ) ) ; user . setId ( METHOD_1 . getId ( ) ) ; org . apache . IDENT_0 . entity . IDENT_6 IDENT_6 = new org . apache . IDENT_0 . entity . METHOD_17 ( ) ; METHOD_17 . setId ( user . getId ( ) ) ; METHOD_17 . METHOD_18 ( STRING_0 ) ; java . util . List < org . apache . IDENT_0 . entity . METHOD_17 > list = new java . util . ArrayList < org . apache . IDENT_0 . entity . METHOD_17 > ( ) ; list . add ( METHOD_17 ) ; org . mockito . Mockito . when ( IDENT_7 . METHOD_19 ( ) ) . thenReturn ( IDENT_2 ) ; org . mockito . Mockito . when ( IDENT_2 . METHOD_20 ( org . apache . IDENT_0 . IDENT_8 . IDENT_9 . IDENT_10 ) ) . thenReturn ( list ) ; java . util . Collection < java . lang . String > IDENT_11 = IDENT_12 . METHOD_21 ( user ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_7 ) . METHOD_19 ( ) ; } METHOD_21 ( org . apache . IDENT_0 . entity . METHOD_2 ) { java . util . Collection < java . lang . String > IDENT_13 = new java . util . ArrayList < java . lang . String > ( ) ; java . util . Collection < org . apache . IDENT_0 . entity . METHOD_17 > IDENT_14 = IDENT_7 . METHOD_19 ( ) . METHOD_20 ( user . getId ( ) ) ; for ( org . apache . IDENT_0 . entity . METHOD_17 IDENT_15 : IDENT_14 ) { IDENT_13 . add ( IDENT_15 . METHOD_22 ( ) ) ; } return IDENT_13 ; }
org . junit . Assert . assertNotNull ( IDENT_11 )