METHOD_0 ( ) { System . out . println ( STRING_0 ) ; java . lang . String key = STRING_1 ; java . lang . String expResult = java . lang . String . format ( STRING_2 , IDENT_0 . IDENT_1 . METHOD_1 ( 1000 ) ) ; com . IDENT_2 . IDENT_3 . util . IDENT_4 . METHOD_2 ( key , java . lang . Integer . METHOD_3 ( expResult ) ) ; java . lang . String result = com . IDENT_2 . IDENT_3 . util . IDENT_4 . METHOD_4 ( key , "" ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . lang . String , java . lang . String ) { if ( key == null ) return null ; java . io . IDENT_5 in = null ; try { java . io . File file = new java . io . File ( com . IDENT_2 . IDENT_3 . IDENT_6 . IDENT_7 ) ; com . IDENT_2 . IDENT_3 . util . IDENT_4 . log ( ( ( ( STRING_3 + ( file . getAbsolutePath ( ) ) ) + STRING_4 ) + ( file . exists ( ) ) ) ) ; if ( ! ( file . exists ( ) ) ) { return IDENT_8 ; } java . util . Properties IDENT_9 = new java . util . Properties ( ) ; in = new java . io . METHOD_5 ( file . getAbsolutePath ( ) ) ; IDENT_9 . load ( in ) ; in . close ( ) ; if ( ( IDENT_9 . getProperty ( key ) ) == null ) return IDENT_8 ; else return IDENT_9 . getProperty ( key ) ; } catch ( java . io . IOException e ) { com . IDENT_2 . IDENT_3 . util . IDENT_4 . log ( e ) ; } catch ( java . lang . IDENT_10 e ) { com . IDENT_2 . IDENT_3 . util . IDENT_4 . log ( e ) ; } finally { if ( in != null ) try { in . close ( ) ; } catch ( java . io . IOException e ) { com . IDENT_2 . IDENT_3 . util . IDENT_4 . log ( e ) ; } } return null ; }
org . junit . Assert . assertTrue ( expResult . equalsIgnoreCase ( result ) )