METHOD_0 ( ) { com . IDENT_0 . order . dto . IDENT_1 IDENT_2 = com . IDENT_0 . order . IDENT_3 . IDENT_4 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; IDENT_2 = com . IDENT_0 . order . IDENT_3 . IDENT_4 . METHOD_1 ( ) ; System . out . println ( STRING_0 ) ; java . lang . Thread . sleep ( INT_0 ) ; IDENT_2 = com . IDENT_0 . order . IDENT_3 . IDENT_4 . METHOD_1 ( ) ; } METHOD_1 ( ) { java . lang . String path = resource . METHOD_2 ( ) . getPath ( ) ; com . IDENT_0 . client . IDENT_5 entry = com . IDENT_0 . client . IDENT_6 . get ( path ) ; com . IDENT_0 . order . dto . IDENT_1 IDENT_7 = null ; if ( entry != null ) { com . IDENT_0 . client . IDENT_8 . LOG . debug ( STRING_1 ) ; java . util . Date IDENT_9 = entry . METHOD_3 ( ) ; java . util . Date now = new java . util . Date ( ) ; if ( now . METHOD_4 ( IDENT_9 ) ) { com . IDENT_0 . client . IDENT_8 . LOG . debug ( STRING_2 ) ; IDENT_7 = ( ( com . IDENT_0 . order . dto . IDENT_1 ) ( entry . METHOD_5 ( ) ) ) ; } else { com . IDENT_0 . client . IDENT_8 . LOG . debug ( STRING_3 ) ; } } if ( IDENT_7 == null ) { com . IDENT_0 . client . IDENT_8 . LOG . debug ( STRING_4 ) ; com . sun . jersey . api . client . IDENT_10 response = resource . accept ( IDENT_11 . IDENT_12 ) . get ( com . sun . jersey . api . client . IDENT_10 . class ) ; if ( response . METHOD_6 ( ) . equals ( Status . IDENT_13 ) ) { IDENT_7 = response . METHOD_7 ( com . IDENT_0 . order . dto . IDENT_1 . class ) ; java . lang . String IDENT_14 = response . METHOD_8 ( ) . METHOD_9 ( STRING_5 ) ; if ( IDENT_14 != null ) { java . util . Date IDENT_15 ; try { IDENT_15 = com . IDENT_0 . client . IDENT_8 . IDENT_16 . parse ( IDENT_14 ) ; entry = new com . IDENT_0 . client . METHOD_10 ( IDENT_7 , null , IDENT_15 ) ; com . IDENT_0 . client . IDENT_6 . cache ( path , entry ) ; } catch ( java . text . IDENT_17 e ) { com . IDENT_0 . client . IDENT_8 . LOG . error ( STRING_6 , e ) ; } } } else { throw new java . lang . RuntimeException ( STRING_7 ) ; } } return IDENT_7 ; }
org . junit . Assert . assertFalse ( ( ( IDENT_2 . METHOD_1 ( ) . size ( ) ) == 0 ) )