METHOD_0 ( ) { com . IDENT_0 . client . IDENT_1 config = new com . IDENT_0 . client . METHOD_1 ( ) ; java . io . File IDENT_2 = new java . io . File ( STRING_0 ) ; if ( ! ( IDENT_2 . exists ( ) ) ) { org . junit . Assert . fail ( STRING_1 ) ; } java . util . List < java . lang . String > IDENT_3 = java . nio . file . IDENT_4 . METHOD_2 ( IDENT_2 . METHOD_3 ( ) , java . nio . IDENT_5 . IDENT_6 . METHOD_4 ( ) ) ; boolean IDENT_7 = false ; java . lang . String version = STRING_2 ; for ( java . lang . String line : IDENT_3 ) { if ( line . trim ( ) . startsWith ( STRING_3 ) ) { if ( ! IDENT_7 ) { IDENT_7 = true ; continue ; } version = line . trim ( ) . substring ( 9 , line . trim ( ) . indexOf ( STRING_4 ) ) ; break ; } } "<AssertPlaceHolder>" ; } METHOD_5 ( ) { java . lang . String path = STRING_5 ; java . io . InputStream stream = getClass ( ) . getResourceAsStream ( path ) ; if ( stream == null ) { return STRING_2 ; } java . util . Properties props = new java . util . Properties ( ) ; try { props . load ( stream ) ; stream . close ( ) ; return ( ( java . lang . String ) ( props . get ( STRING_6 ) ) ) ; } catch ( java . io . IOException e ) { return STRING_2 ; } }
org . junit . Assert . assertEquals ( version , config . METHOD_5 ( ) )