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 ( element . METHOD_2 ( ) ) . thenReturn ( IDENT_4 . IDENT_5 ) ; when ( value . value ( ) ) . thenReturn ( STRING_0 ) ; IDENT_0 . IDENT_1 . IDENT_6 . IDENT_7 IDENT_8 = org . mockito . Mockito . mock ( IDENT_0 . IDENT_1 . IDENT_6 . IDENT_7 . class ) ; IDENT_0 . IDENT_1 . IDENT_9 instance = new IDENT_0 . IDENT_1 . METHOD_3 ( IDENT_8 ) ; IDENT_0 . IDENT_1 . IDENT_10 . IDENT_4 control = new IDENT_0 . IDENT_1 . IDENT_10 . METHOD_4 ( new IDENT_0 . IDENT_1 . IDENT_10 . METHOD_5 ( element ) . METHOD_6 ( value ) . METHOD_7 ( instance ) ) ; java . lang . String val = control . getValue ( ) ; "<AssertPlaceHolder>" ; } getValue ( ) { final IDENT_0 . METHOD_7 . pattern . IDENT_3 IDENT_11 = METHOD_8 ( IDENT_0 . METHOD_7 . pattern . IDENT_3 . class ) ; if ( IDENT_11 . METHOD_1 ( ) ) { return IDENT_11 . value ( ) ; } else { throw new IDENT_0 . METHOD_7 . pattern . METHOD_9 ( STRING_1 ) ; } }
org . junit . Assert . assertTrue ( val . equals ( STRING_0 ) )