METHOD_0 ( ) { METHOD_1 ( ( IDENT_0 ) -> 0 ) . when ( IDENT_1 ) . METHOD_2 ( any ( ) ) ; METHOD_1 ( ( IDENT_0 ) -> new com . sun . IDENT_2 . platform . IDENT_3 . IDENT_4 . METHOD_3 ( 0 ) ) . when ( IDENT_5 ) . METHOD_4 ( any ( IDENT_6 . IDENT_7 . class ) , any ( com . sun . IDENT_2 . IDENT_8 . IDENT_9 . class ) ) ; IDENT_10 . IDENT_11 . pattern . IDENT_12 pattern = new IDENT_10 . IDENT_11 . pattern . METHOD_5 ( element ) ; pattern . IDENT_1 = IDENT_1 ; IDENT_10 . IDENT_11 . pattern . METHOD_5 IDENT_13 = org . mockito . Mockito . METHOD_6 ( pattern ) ; doReturn ( IDENT_5 ) . when ( IDENT_13 ) . METHOD_7 ( any ( ) ) ; IDENT_10 . IDENT_11 . IDENT_14 . IDENT_15 IDENT_16 = org . mockito . Mockito . mock ( IDENT_10 . IDENT_11 . IDENT_14 . IDENT_15 . class ) ; METHOD_1 ( ( IDENT_0 ) -> { java . lang . Object [ ] args = IDENT_0 . METHOD_8 ( ) ; com . sun . IDENT_2 . IDENT_8 . IDENT_17 reference = ( ( com . sun . IDENT_2 . IDENT_8 . IDENT_17 ) ( args [ 0 ] ) ) ; reference . setValue ( 1 ) ; return 0 ; } ) . when ( IDENT_16 ) . METHOD_9 ( any ( ) ) ; IDENT_10 . IDENT_11 . IDENT_14 . IDENT_18 IDENT_19 = org . mockito . Mockito . mock ( IDENT_10 . IDENT_11 . IDENT_14 . IDENT_18 . class ) ; METHOD_1 ( ( IDENT_0 ) -> { java . lang . Object [ ] args = IDENT_0 . METHOD_8 ( ) ; com . sun . IDENT_2 . IDENT_8 . IDENT_9 reference = ( ( com . sun . IDENT_2 . IDENT_8 . IDENT_9 ) ( args [ 1 ] ) ) ; java . lang . String value = STRING_0 ; com . sun . IDENT_2 . IDENT_20 IDENT_21 = new com . sun . IDENT_2 . METHOD_10 ( ( IDENT_22 . IDENT_23 * ( ( value . length ( ) ) + 1 ) ) ) ; IDENT_21 . METHOD_11 ( 0 , value ) ; reference . setValue ( IDENT_21 ) ; return 0 ; } ) . when ( IDENT_19 ) . getText ( any ( ) , any ( ) ) ; doReturn ( IDENT_19 ) . when ( IDENT_13 ) . METHOD_12 ( any ( ) ) ; doReturn ( IDENT_16 ) . when ( IDENT_13 ) . METHOD_13 ( any ( ) ) ; java . lang . String text = IDENT_13 . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return METHOD_14 ( ) ; }
org . junit . Assert . assertTrue ( text . equals ( STRING_0 ) )