METHOD_0 ( ) { java . util . List < IDENT_0 . IDENT_1 . IDENT_2 > result = new java . util . ArrayList ( ) ; result . add ( new IDENT_0 . IDENT_1 . METHOD_1 ( IDENT_3 ) ) ; when ( element . METHOD_2 ( any ( IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 . class ) , any ( com . sun . IDENT_6 . IDENT_7 . IDENT_8 . class ) ) ) . thenReturn ( result ) ; IDENT_0 . IDENT_1 . IDENT_9 . IDENT_10 list = new IDENT_0 . IDENT_1 . IDENT_9 . METHOD_3 ( new IDENT_0 . IDENT_1 . IDENT_9 . METHOD_4 ( element ) . METHOD_5 ( IDENT_11 ) ) ; java . util . List < IDENT_0 . IDENT_1 . IDENT_9 . IDENT_12 > IDENT_13 = list . METHOD_6 ( ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { IDENT_0 . IDENT_1 . IDENT_9 . IDENT_14 . IDENT_15 IDENT_16 = METHOD_7 ( ) ; if ( IDENT_16 != null ) { return IDENT_16 . METHOD_6 ( ) ; } java . util . List < IDENT_0 . IDENT_1 . Element > IDENT_13 = this . METHOD_2 ( new IDENT_0 . IDENT_4 . METHOD_8 ( IDENT_0 . IDENT_4 . METHOD_8 . IDENT_17 ) , this . METHOD_9 ( IDENT_18 . IDENT_19 ) ) ; java . util . List < IDENT_0 . IDENT_1 . IDENT_9 . IDENT_14 . IDENT_19 > list = new java . util . ArrayList ( ) ; for ( IDENT_0 . IDENT_1 . Element item : IDENT_13 ) { list . add ( new IDENT_0 . IDENT_1 . IDENT_9 . IDENT_14 . METHOD_10 ( new IDENT_0 . IDENT_1 . IDENT_9 . METHOD_4 ( item ) ) ) ; } return list ; }
org . junit . Assert . assertTrue ( ( ( IDENT_13 . size ( ) ) == 1 ) )