METHOD_0 ( ) { when ( element . getName ( ) ) . thenReturn ( STRING_0 ) ; java . util . List < IDENT_0 . IDENT_1 . IDENT_2 > collection = new java . util . ArrayList ( ) ; collection . add ( new IDENT_0 . IDENT_1 . METHOD_1 ( IDENT_3 ) ) ; when ( element . METHOD_2 ( any ( ) , any ( ) ) ) . thenReturn ( collection ) ; IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 . IDENT_6 IDENT_5 = new IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 . METHOD_3 ( new IDENT_0 . IDENT_1 . IDENT_4 . METHOD_4 ( element ) . parent ( parent ) ) ; java . util . List < IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 . IDENT_7 > IDENT_8 = IDENT_5 . METHOD_5 ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 . IDENT_9 IDENT_5 = new IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 . METHOD_6 ( new IDENT_0 . IDENT_1 . IDENT_4 . METHOD_4 ( element ) ) ; java . util . List < IDENT_0 . IDENT_1 . Element > IDENT_10 = new java . util . METHOD_7 ( ) ; IDENT_10 . add ( IDENT_11 ) ; when ( element . METHOD_2 ( IDENT_0 . IDENT_1 . IDENT_12 . METHOD_8 ( IDENT_13 . IDENT_14 ) , any ( ) ) ) . thenReturn ( IDENT_10 ) ; java . util . List < IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 . IDENT_15 > IDENT_8 = IDENT_5 . METHOD_5 ( ) ; org . junit . Assert . assertEquals ( IDENT_11 , IDENT_8 . get ( 0 ) . METHOD_9 ( ) ) ; }
org . junit . Assert . assertTrue ( ( ( IDENT_8 . size ( ) ) == 1 ) )