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 value = org . mockito . Mockito . mock ( IDENT_0 . IDENT_1 . pattern . IDENT_3 . class ) ; when ( value . METHOD_1 ( ) ) . thenReturn ( true ) ; when ( value . METHOD_2 ( ) ) . thenReturn ( true ) ; 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_3 ( IDENT_6 ) ; IDENT_0 . IDENT_1 . IDENT_8 . IDENT_9 IDENT_10 = new IDENT_0 . IDENT_1 . IDENT_8 . METHOD_4 ( new IDENT_0 . IDENT_1 . IDENT_8 . METHOD_5 ( element ) . METHOD_6 ( value ) . METHOD_7 ( instance ) ) ; boolean result = IDENT_10 . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { com . sun . IDENT_11 . IDENT_12 . IDENT_13 IDENT_14 = new com . sun . IDENT_11 . IDENT_12 . METHOD_8 ( ) ; final int res = this . METHOD_9 ( ) . METHOD_10 ( IDENT_14 ) ; if ( res != 0 ) { throw new IDENT_0 . METHOD_7 . METHOD_11 ( res ) ; } return ( IDENT_14 . getValue ( ) ) == 1 ; }
org . junit . Assert . assertTrue ( result )