METHOD_0 ( ) { java . util . Properties properties = new java . util . Properties ( ) ; try ( java . io . IDENT_0 IDENT_1 = new java . io . METHOD_1 ( this . getClass ( ) . METHOD_2 ( ) . getResource ( STRING_0 ) . getPath ( ) ) ) { properties . load ( IDENT_1 ) ; } catch ( java . io . IDENT_2 e ) { } catch ( java . io . IOException e ) { } IDENT_3 . IDENT_4 . IDENT_5 . controller . IDENT_6 IDENT_7 = new IDENT_3 . IDENT_4 . IDENT_5 . controller . METHOD_3 ( properties ) ; IDENT_7 . METHOD_4 ( java . lang . System . currentTimeMillis ( ) ) ; IDENT_7 . METHOD_4 ( java . lang . System . currentTimeMillis ( ) ) ; long result = java . lang . System . currentTimeMillis ( ) ; IDENT_7 . METHOD_4 ( result ) ; "<AssertPlaceHolder>" ; IDENT_7 . close ( ) ; } METHOD_5 ( ) { IDENT_3 . IDENT_4 . IDENT_5 . controller . IDENT_8 IDENT_9 = null ; IDENT_3 . IDENT_4 . IDENT_5 . controller . ResultSet rs = null ; long result = 0 ; try { IDENT_9 = conn . METHOD_6 ( STRING_1 ) ; rs = IDENT_9 . METHOD_7 ( ) ; if ( rs . next ( ) ) { result = rs . METHOD_8 ( STRING_2 ) . getTime ( ) ; IDENT_3 . IDENT_4 . IDENT_5 . controller . METHOD_3 . log . info ( STRING_3 ) ; } } catch ( java . lang . Exception e ) { IDENT_3 . IDENT_4 . IDENT_5 . controller . METHOD_3 . log . error ( e . getMessage ( ) , e ) ; } finally { try { IDENT_9 . close ( ) ; rs . close ( ) ; } catch ( java . lang . Exception e ) { IDENT_3 . IDENT_4 . IDENT_5 . controller . METHOD_3 . log . error ( e . getMessage ( ) , e ) ; } } return result ; }
org . junit . Assert . assertThat ( result , org . hamcrest . core . Is . is ( IDENT_7 . METHOD_5 ( ) ) )