METHOD_0 ( ) { java . lang . String [ ] IDENT_0 = new java . lang . String [ ] { STRING_0 , STRING_1 } ; org . apache . IDENT_1 . IDENT_2 . util . IDENT_3 . IDENT_4 . IDENT_5 IDENT_6 = new org . apache . IDENT_1 . IDENT_2 . util . IDENT_3 . IDENT_4 . METHOD_1 ( IDENT_0 , Constants . IDENT_7 . IDENT_8 ) ; METHOD_2 ( org . apache . IDENT_1 . IDENT_2 . util . IDENT_3 . connection . IDENT_9 . class ) ; when ( org . apache . IDENT_1 . IDENT_2 . util . IDENT_3 . connection . IDENT_9 . METHOD_3 ( STRING_0 , null , Constants . IDENT_7 . IDENT_8 ) ) . METHOD_4 ( new java . lang . Exception ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . lang . String ) { java . io . InputStream is = null ; try { org . apache . IDENT_1 . IDENT_2 . util . IDENT_3 . IDENT_4 . METHOD_1 . LOG . info ( STRING_2 , IDENT_10 ) ; is = org . apache . IDENT_1 . IDENT_2 . util . IDENT_3 . connection . IDENT_9 . METHOD_3 ( IDENT_10 , null , IDENT_11 ) ; if ( null == is ) { return false ; } org . apache . IDENT_1 . IDENT_2 . util . IDENT_3 . IDENT_4 . METHOD_1 . IDENT_12 . METHOD_6 ( is , org . apache . IDENT_1 . IDENT_2 . util . IDENT_3 . model . IDENT_13 . class ) ; } catch ( java . lang . Exception ex ) { org . apache . IDENT_1 . IDENT_2 . util . IDENT_3 . IDENT_4 . METHOD_1 . LOG . info ( STRING_3 , IDENT_10 ) ; return false ; } finally { if ( is != null ) { try { is . close ( ) ; } catch ( java . io . IOException e ) { org . apache . IDENT_1 . IDENT_2 . util . IDENT_3 . IDENT_4 . METHOD_1 . LOG . warn ( STRING_4 , e ) ; } } } return true ; }
org . junit . Assert . assertFalse ( IDENT_6 . METHOD_5 ( STRING_0 ) )