METHOD_0 ( ) { IDENT_0 . IDENT_1 . IDENT_2 element = org . mockito . Mockito . mock ( IDENT_0 . IDENT_1 . IDENT_2 . class ) ; IDENT_0 . IDENT_1 . IDENT_3 . IDENT_4 IDENT_5 = org . mockito . Mockito . mock ( IDENT_0 . IDENT_1 . IDENT_3 . IDENT_4 . class ) ; when ( IDENT_5 . METHOD_1 ( METHOD_2 ( com . sun . IDENT_6 . IDENT_7 . IDENT_8 . class ) ) ) . thenReturn ( 0 ) ; IDENT_0 . IDENT_1 . IDENT_9 instance = new IDENT_0 . IDENT_1 . METHOD_3 ( IDENT_5 ) ; when ( element . getName ( ) ) . thenReturn ( STRING_0 ) ; IDENT_0 . IDENT_1 . IDENT_10 . IDENT_11 IDENT_12 = new IDENT_0 . IDENT_1 . IDENT_10 . METHOD_4 ( new IDENT_0 . IDENT_1 . IDENT_10 . METHOD_5 ( element ) . METHOD_6 ( instance ) ) ; java . lang . String name = IDENT_12 . getName ( ) ; "<AssertPlaceHolder>" ; } getName ( ) { return this . name ; }
org . junit . Assert . assertTrue ( name . equals ( STRING_0 ) )