METHOD_0 ( ) { org . IDENT_0 . core . api . context . IDENT_1 context = org . IDENT_0 . core . api . context . IDENT_1 . get ( ) ; context . METHOD_1 ( "foo" ) ; java . util . concurrent . IDENT_2 < java . lang . String > task = new java . util . concurrent . IDENT_2 < java . lang . String > ( ) { @ org . IDENT_0 . core . api . Override public java . lang . String call ( ) throws org . IDENT_0 . core . api . Exception { return org . IDENT_0 . core . api . context . IDENT_1 . get ( ) . METHOD_2 ( ) ; } } ; java . lang . String result = java . util . concurrent . IDENT_3 . METHOD_3 ( ) . METHOD_4 ( task ) . get ( ) ; "<AssertPlaceHolder>" ; } get ( ) { if ( ( org . apache . IDENT_4 . IDENT_5 . get ( ) ) instanceof org . IDENT_0 . ui . common . IDENT_6 ) { return ( ( org . IDENT_0 . ui . common . IDENT_6 ) ( org . apache . IDENT_4 . IDENT_5 . get ( ) ) ) ; } else { return null ; } }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . is ( "foo" ) )