METHOD_0 ( ) { java . util . Properties IDENT_0 = mock ( java . util . Properties . class ) ; org . IDENT_1 . api . mockito . IDENT_2 . METHOD_1 ( java . util . Properties . class ) . METHOD_2 ( ) . thenReturn ( IDENT_0 ) ; when ( IDENT_0 . get ( eq ( STRING_0 ) ) ) . thenReturn ( STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { java . lang . String path = STRING_2 ; java . io . InputStream stream = IDENT_3 . IDENT_4 . cs . IDENT_5 . cli . io . IDENT_6 . class . getResourceAsStream ( path ) ; if ( stream == null ) { return STRING_3 ; } java . util . Properties props = new java . util . Properties ( ) ; try { props . load ( stream ) ; stream . close ( ) ; return ( ( java . lang . String ) ( props . get ( STRING_0 ) ) ) ; } catch ( java . io . IOException e ) { IDENT_3 . IDENT_4 . cs . IDENT_5 . cli . io . IDENT_6 . logger . warn ( STRING_4 , e ) ; return STRING_3 ; } }
org . junit . Assert . assertEquals ( STRING_1 , IDENT_3 . IDENT_4 . cs . IDENT_5 . cli . io . IDENT_6 . METHOD_3 ( ) )