METHOD_0 ( ) { java . util . List < org . apache . IDENT_0 . entity . IDENT_1 > IDENT_2 = new java . util . ArrayList < org . apache . IDENT_0 . entity . IDENT_1 > ( ) ; org . apache . IDENT_0 . db . IDENT_3 IDENT_4 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . db . IDENT_3 . class ) ; org . mockito . Mockito . when ( IDENT_5 . METHOD_1 ( ) ) . thenReturn ( IDENT_4 ) ; org . mockito . Mockito . when ( IDENT_4 . METHOD_2 ( IDENT_6 ) ) . thenReturn ( IDENT_2 ) ; java . util . List < org . apache . IDENT_0 . plugin . model . IDENT_7 > result = IDENT_8 . METHOD_3 ( IDENT_6 ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_5 ) . METHOD_1 ( ) ; org . mockito . Mockito . verify ( IDENT_4 ) . METHOD_2 ( IDENT_6 ) ; } METHOD_3 ( java . lang . Long ) { java . util . List < org . apache . IDENT_0 . plugin . model . IDENT_7 > ret = new java . util . ArrayList < org . apache . IDENT_0 . plugin . model . IDENT_7 > ( ) ; java . util . List < org . apache . IDENT_0 . entity . IDENT_1 > IDENT_2 = IDENT_5 . METHOD_1 ( ) . METHOD_2 ( IDENT_6 ) ; if ( org . apache . commons . collections . IDENT_9 . METHOD_4 ( IDENT_2 ) ) { for ( org . apache . IDENT_0 . entity . IDENT_1 IDENT_10 : IDENT_2 ) { org . apache . IDENT_0 . plugin . model . IDENT_7 IDENT_11 = METHOD_5 ( IDENT_10 ) ; ret . add ( IDENT_11 ) ; } } return ret ; }
org . junit . Assert . assertNotNull ( result )