METHOD_0 ( ) { @ org . IDENT_0 . utils . cache . METHOD_1 ( { STRING_0 } ) final java . util . concurrent . atomic . IDENT_1 < java . lang . Object > result = new java . util . concurrent . atomic . METHOD_2 ( new java . io . IOException ( "foo" ) ) ; org . IDENT_0 . utils . cache . IDENT_2 < java . lang . String , java . lang . Object > cache = new org . IDENT_0 . utils . cache . METHOD_3 ( ( key ) -> { java . lang . Object r = result . get ( ) ; if ( r instanceof java . lang . Exception ) { throw ( ( java . lang . Exception ) ( r ) ) ; } else { return r ; } } , IDENT_3 , 1 ) ; cache . METHOD_4 ( org . IDENT_0 . utils . cache . IDENT_4 . < java . lang . String > METHOD_5 ( ) ) ; try { cache . get ( "foo" ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( java . io . IOException IDENT_5 ) { } result . set ( "foo" ) ; "<AssertPlaceHolder>" ; } get ( IDENT_6 ) { try { return METHOD_6 ( key ) . get ( ) ; } catch ( java . util . concurrent . IDENT_7 e ) { if ( IDENT_8 . METHOD_7 ( key , e . METHOD_8 ( ) ) ) { logger . debug ( ( ( ( STRING_2 + key ) + STRING_3 ) + ( e . METHOD_8 ( ) . toString ( ) ) ) ) ; remove ( key ) ; } throw e . METHOD_8 ( ) ; } }
org . junit . Assert . assertThat ( "foo" , org . hamcrest . CoreMatchers . equalTo ( cache . get ( "foo" ) ) )