METHOD_0 ( ) { IDENT_0 . IDENT_1 . IDENT_2 element = org . mockito . Mockito . mock ( IDENT_0 . IDENT_1 . IDENT_2 . class ) ; IDENT_0 . IDENT_1 . pattern . IDENT_3 pattern = org . mockito . Mockito . mock ( IDENT_0 . IDENT_1 . pattern . IDENT_3 . class ) ; when ( pattern . METHOD_1 ( ) ) . thenReturn ( true ) ; when ( pattern . getText ( ) ) . thenReturn ( STRING_0 ) ; IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 IDENT_6 = org . mockito . Mockito . mock ( IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 . class ) ; IDENT_0 . IDENT_1 . IDENT_7 instance = new IDENT_0 . IDENT_1 . METHOD_2 ( IDENT_6 ) ; IDENT_0 . IDENT_1 . IDENT_8 . IDENT_9 document = new IDENT_0 . IDENT_1 . IDENT_8 . METHOD_3 ( new IDENT_0 . IDENT_1 . IDENT_8 . METHOD_4 ( element ) . METHOD_5 ( pattern ) . METHOD_6 ( instance ) ) ; java . lang . String name = document . getText ( ) ; "<AssertPlaceHolder>" ; } getText ( ) { com . sun . IDENT_10 . IDENT_11 . IDENT_12 IDENT_13 = new com . sun . IDENT_10 . IDENT_11 . METHOD_7 ( ) ; final int res = this . METHOD_8 ( ) . METHOD_9 ( IDENT_13 ) ; if ( res != 0 ) { throw new IDENT_0 . METHOD_6 . METHOD_10 ( res ) ; } com . sun . IDENT_10 . platform . IDENT_14 . IDENT_15 . IDENT_16 IDENT_17 = METHOD_11 ( IDENT_13 . getValue ( ) ) ; com . sun . IDENT_10 . IDENT_11 . METHOD_7 IDENT_18 = new com . sun . IDENT_10 . IDENT_11 . METHOD_7 ( ) ; com . sun . IDENT_10 . platform . IDENT_14 . IDENT_19 . IDENT_20 IDENT_21 = IDENT_17 . METHOD_12 ( new com . sun . IDENT_10 . platform . IDENT_14 . IDENT_22 . METHOD_13 ( IDENT_0 . IDENT_4 . IDENT_23 . IDENT_24 ) , IDENT_18 ) ; if ( com . sun . IDENT_10 . platform . IDENT_14 . IDENT_15 . IDENT_25 . METHOD_14 ( IDENT_21 ) ) { IDENT_0 . IDENT_4 . IDENT_23 range = METHOD_15 ( IDENT_18 ) ; com . sun . IDENT_10 . IDENT_11 . METHOD_7 IDENT_26 = new com . sun . IDENT_10 . IDENT_11 . METHOD_7 ( ) ; final int IDENT_27 = range . getText ( ( - 1 ) , IDENT_26 ) ; if ( IDENT_27 != 0 ) { throw new IDENT_0 . METHOD_6 . METHOD_10 ( IDENT_27 ) ; } return IDENT_26 . getValue ( ) . METHOD_16 ( 0 ) ; } else { throw new IDENT_0 . METHOD_6 . METHOD_10 ( IDENT_21 . METHOD_17 ( ) ) ; } }
org . junit . Assert . assertTrue ( name . equals ( STRING_0 ) )