METHOD_0 ( ) { exception . expect ( com . IDENT_0 . IDENT_1 . IDENT_2 . class ) ; exception . METHOD_1 ( STRING_0 ) ; java . util . Calendar IDENT_3 = java . util . Calendar . getInstance ( ) ; java . text . IDENT_4 IDENT_5 = new java . text . METHOD_2 ( STRING_1 ) ; IDENT_5 . METHOD_3 ( java . util . IDENT_6 . METHOD_4 ( STRING_2 ) ) ; com . IDENT_0 . IDENT_1 . IDENT_7 IDENT_8 = com . IDENT_0 . IDENT_1 . IDENT_9 . METHOD_5 ( ) ; com . IDENT_0 . IDENT_1 . IDENT_10 IDENT_11 = new com . IDENT_0 . IDENT_1 . METHOD_6 ( IDENT_8 . METHOD_7 ( ) ) ; IDENT_11 . METHOD_8 ( IDENT_12 . IDENT_13 ) ; IDENT_11 . METHOD_9 ( ) . put ( STRING_3 , java . util . Collections . singletonList ( IDENT_5 . format ( IDENT_3 . getTime ( ) ) ) ) ; "<AssertPlaceHolder>" ; } validate ( java . net . IDENT_12 ) { if ( ( connection . METHOD_10 ( ) ) == ( java . net . IDENT_12 . IDENT_14 ) ) return true ; java . util . Date IDENT_15 = new java . util . Date ( ) ; long IDENT_16 = connection . METHOD_11 ( STRING_3 , 0 ) ; if ( ( IDENT_16 != 0 ) && ( ( ( IDENT_15 . getTime ( ) ) - IDENT_16 ) > ( INT_0 * 1000 ) ) ) throw new com . IDENT_0 . IDENT_1 . METHOD_12 ( STRING_4 ) ; throw new com . IDENT_0 . IDENT_1 . METHOD_12 ( java . lang . String . format ( STRING_5 , connection . METHOD_10 ( ) , connection . METHOD_13 ( ) , connection . METHOD_9 ( ) ) , connection . METHOD_10 ( ) ) ; }
org . junit . Assert . assertTrue ( IDENT_8 . validate ( IDENT_11 ) )