METHOD_0 ( ) { org . apache . IDENT_0 . plugin . model . IDENT_1 IDENT_2 = METHOD_1 ( ) ; java . lang . Long IDENT_3 = 1L ; IDENT_2 . setId ( IDENT_3 ) ; java . util . List < org . apache . IDENT_0 . plugin . model . IDENT_1 > IDENT_4 = new java . util . ArrayList ( ) ; IDENT_4 . add ( IDENT_2 ) ; when ( IDENT_5 . METHOD_2 ( null ) ) . thenReturn ( IDENT_4 ) ; java . util . List < org . apache . IDENT_0 . plugin . model . IDENT_1 > IDENT_6 = IDENT_7 . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_5 , times ( 1 ) ) . METHOD_2 ( null ) ; } METHOD_2 ( org . apache . IDENT_0 . plugin . util . IDENT_8 ) { java . util . List < org . apache . IDENT_0 . plugin . model . IDENT_1 > ret = new java . util . ArrayList ( ) ; java . util . List < org . apache . IDENT_0 . entity . IDENT_9 > IDENT_10 = IDENT_11 . METHOD_4 ( ) . METHOD_5 ( ) ; for ( org . apache . IDENT_0 . entity . IDENT_9 IDENT_12 : IDENT_10 ) { if ( ! ( IDENT_12 . getId ( ) . equals ( IDENT_1 . IDENT_13 ) ) ) { ret . add ( IDENT_14 . read ( IDENT_12 . getId ( ) ) ) ; } } if ( ( ( org . apache . commons . collections . IDENT_15 . METHOD_6 ( ret ) ) && ( filter != null ) ) && ( ! ( filter . isEmpty ( ) ) ) ) { java . util . List < org . apache . IDENT_0 . plugin . model . IDENT_1 > IDENT_16 = new java . util . ArrayList ( ret ) ; IDENT_17 . METHOD_7 ( IDENT_16 , filter ) ; ret = IDENT_16 ; } return ret ; }
org . junit . Assert . assertEquals ( IDENT_6 . size ( ) , IDENT_4 . size ( ) )