METHOD_0 ( ) { IDENT_0 . METHOD_1 ( IDENT_1 ) ; doReturn ( conn ) . when ( IDENT_0 ) . METHOD_2 ( ) ; when ( IDENT_1 . METHOD_3 ( ) ) . thenReturn ( IDENT_2 . IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { java . lang . String IDENT_4 = METHOD_5 ( org . pentaho . platform . plugin . action . IDENT_5 . IDENT_6 . IDENT_7 ) ; java . lang . Object IDENT_8 = METHOD_6 ( org . pentaho . platform . plugin . action . IDENT_5 . IDENT_6 . IDENT_9 ) ; if ( IDENT_8 != null ) { org . pentaho . platform . api . repository . IDENT_10 IDENT_11 = METHOD_7 ( org . pentaho . platform . plugin . action . IDENT_5 . IDENT_6 . IDENT_12 , IDENT_4 ) ; if ( IDENT_11 != null ) { IDENT_11 . METHOD_8 ( IDENT_4 ) ; java . io . IDENT_13 IDENT_14 = null ; if ( IDENT_8 instanceof java . lang . String ) { java . lang . String IDENT_15 = ( ( java . lang . String ) ( IDENT_8 ) ) ; if ( ( IDENT_15 . length ( ) ) > 0 ) { try { IDENT_14 = IDENT_11 . METHOD_9 ( METHOD_10 ( ) ) ; IDENT_14 . write ( IDENT_15 . getBytes ( org . pentaho . platform . util . messages . IDENT_16 . METHOD_11 ( ) ) ) ; IDENT_14 . METHOD_12 ( ) ; IDENT_14 . close ( ) ; IDENT_11 . METHOD_13 ( ) ; } catch ( java . lang . Exception e ) { error ( org . pentaho . platform . plugin . action . messages . IDENT_17 . getInstance ( ) . METHOD_14 ( STRING_0 ) , e ) ; return false ; } trace ( IDENT_15 ) ; return true ; } else { error ( org . pentaho . platform . plugin . action . messages . IDENT_17 . getInstance ( ) . METHOD_14 ( STRING_1 ) ) ; return false ; } } else if ( IDENT_8 instanceof java . io . InputStream ) { java . io . InputStream is = ( ( java . io . InputStream ) ( IDENT_8 ) ) ; byte [ ] IDENT_18 = new byte [ INT_0 ] ; int len ; IDENT_14 = IDENT_11 . METHOD_9 ( null ) ; while ( ( len = is . read ( IDENT_18 ) ) >= 0 ) { IDENT_14 . write ( IDENT_18 , 0 , len ) ; } IDENT_14 . METHOD_12 ( ) ; IDENT_14 . close ( ) ; IDENT_11 . METHOD_13 ( ) ; return true ; } else if ( IDENT_8 instanceof java . io . ByteArrayOutputStream ) { java . io . ByteArrayOutputStream IDENT_19 = ( ( java . io . ByteArrayOutputStream ) ( IDENT_8 ) ) ; IDENT_14 = IDENT_11 . METHOD_9 ( null ) ; IDENT_14 . write ( IDENT_19 . toByteArray ( ) ) ; IDENT_14 . METHOD_12 ( ) ; IDENT_14 . close ( ) ; IDENT_11 . METHOD_13 ( ) ; return true ; } else { error ( org . pentaho . platform . plugin . action . messages . IDENT_17 . getInstance ( ) . METHOD_14 ( STRING_2 , IDENT_8 . getClass ( ) . getName ( ) ) ) ; return false ; } } else { error ( org . pentaho . platform . plugin . action . messages . IDENT_17 . getInstance ( ) . METHOD_14 ( STRING_3 ) ) ; return false ; } } error ( org . pentaho . platform . plugin . action . messages . IDENT_17 . getInstance ( ) . METHOD_14 ( STRING_4 ) ) ; return false ; }
org . junit . Assert . assertFalse ( IDENT_0 . METHOD_4 ( ) )