METHOD_0 ( ) { java . lang . String IDENT_0 = org . pentaho . platform . IDENT_1 . IDENT_2 . api . IDENT_3 . IDENT_4 ; java . io . InputStream IDENT_5 = mock ( java . io . InputStream . class ) ; boolean IDENT_6 = true ; boolean IDENT_7 = false ; org . pentaho . metadata . util . IDENT_8 IDENT_9 = mock ( org . pentaho . metadata . util . IDENT_8 . class ) ; org . pentaho . metadata . model . IDENT_10 IDENT_11 = mock ( org . pentaho . metadata . model . IDENT_10 . class ) ; java . io . InputStream IDENT_12 = mock ( java . io . InputStream . class ) ; org . pentaho . platform . api . IDENT_13 . IDENT_14 . IDENT_15 IDENT_16 = mock ( org . pentaho . platform . api . IDENT_13 . IDENT_14 . IDENT_15 . class ) ; org . pentaho . platform . api . IDENT_13 . IDENT_14 . IDENT_15 IDENT_17 = mock ( org . pentaho . platform . api . IDENT_13 . IDENT_14 . IDENT_15 . class ) ; org . pentaho . platform . plugin . services . IDENT_18 . IDENT_19 IDENT_20 = mock ( org . pentaho . platform . plugin . services . IDENT_18 . IDENT_19 . class ) ; org . pentaho . platform . api . engine . IDENT_21 IDENT_22 = mock ( org . pentaho . platform . api . engine . IDENT_21 . class ) ; java . lang . String IDENT_23 = STRING_0 ; java . lang . String IDENT_24 = STRING_1 ; final org . pentaho . platform . api . IDENT_13 . IDENT_14 . IDENT_25 . IDENT_26 IDENT_27 = new org . pentaho . platform . api . IDENT_13 . IDENT_14 . IDENT_25 . METHOD_1 ( ) ; IDENT_27 . METHOD_2 ( STRING_2 ) ; IDENT_27 . METHOD_3 ( IDENT_28 . Type . IDENT_29 . METHOD_4 ( ) ) ; doReturn ( true ) . when ( org . pentaho . platform . IDENT_1 . IDENT_2 . api . IDENT_3 . IDENT_30 ) . METHOD_5 ( ) ; doReturn ( true ) . when ( org . pentaho . platform . IDENT_1 . IDENT_2 . api . IDENT_3 . IDENT_30 ) . METHOD_6 ( anyString ( ) , anyString ( ) ) ; doReturn ( IDENT_9 ) . when ( org . pentaho . platform . IDENT_1 . IDENT_2 . api . IDENT_3 . IDENT_30 ) . METHOD_7 ( ) ; doReturn ( IDENT_11 ) . when ( IDENT_9 ) . METHOD_8 ( IDENT_5 ) ; doReturn ( IDENT_12 ) . when ( org . pentaho . platform . IDENT_1 . IDENT_2 . api . IDENT_3 . IDENT_30 ) . METHOD_9 ( IDENT_11 , IDENT_9 ) ; doReturn ( IDENT_16 ) . when ( org . pentaho . platform . IDENT_1 . IDENT_2 . api . IDENT_3 . IDENT_30 ) . METHOD_10 ( IDENT_11 , IDENT_12 , IDENT_6 , IDENT_27 ) ; doReturn ( IDENT_17 ) . when ( org . pentaho . platform . IDENT_1 . IDENT_2 . api . IDENT_3 . IDENT_30 ) . METHOD_11 ( IDENT_11 , IDENT_27 ) ; doReturn ( IDENT_20 ) . when ( org . pentaho . platform . IDENT_1 . IDENT_2 . api . IDENT_3 . IDENT_30 ) . METHOD_12 ( ) ; doReturn ( IDENT_22 ) . when ( org . pentaho . platform . IDENT_1 . IDENT_2 . api . IDENT_3 . IDENT_30 ) . METHOD_13 ( ) ; java . lang . String response = org . pentaho . platform . IDENT_1 . IDENT_2 . api . IDENT_3 . IDENT_30 . METHOD_14 ( IDENT_0 , IDENT_5 , IDENT_6 , IDENT_7 , IDENT_27 ) ; verify ( org . pentaho . platform . IDENT_1 . IDENT_2 . api . IDENT_3 . IDENT_30 , times ( 1 ) ) . METHOD_14 ( IDENT_0 , IDENT_5 , IDENT_6 , IDENT_7 , IDENT_27 ) ; "<AssertPlaceHolder>" ; IDENT_7 = true ; java . lang . String IDENT_31 = "" ; doReturn ( IDENT_31 ) . when ( org . pentaho . platform . IDENT_1 . IDENT_2 . api . IDENT_3 . IDENT_30 ) . METHOD_15 ( IDENT_11 ) ; doReturn ( mock ( org . pentaho . database . model . IDENT_32 . class ) ) . when ( org . pentaho . platform . IDENT_1 . IDENT_2 . api . IDENT_3 . IDENT_30 . IDENT_33 ) . METHOD_16 ( anyString ( ) ) ; org . pentaho . platform . IDENT_1 . IDENT_2 . api . IDENT_3 . IDENT_30 . METHOD_14 ( IDENT_0 , IDENT_5 , IDENT_6 , IDENT_7 , IDENT_27 ) ; verify ( org . pentaho . platform . IDENT_1 . IDENT_2 . api . IDENT_3 . IDENT_30 . IDENT_34 ) . METHOD_17 ( IDENT_31 ) ; verify ( org . pentaho . platform . IDENT_1 . IDENT_2 . api . IDENT_3 . IDENT_30 , times ( 1 ) ) . METHOD_14 ( IDENT_0 , IDENT_5 , IDENT_6 , IDENT_7 , IDENT_27 ) ; } METHOD_14 ( java . lang . String , java . io . InputStream , boolean , boolean , org . pentaho . platform . api . IDENT_13 . IDENT_14 . IDENT_25 . METHOD_1 ) { try { final java . lang . String IDENT_24 = service . METHOD_14 ( IDENT_0 , IDENT_5 , IDENT_6 , IDENT_7 , IDENT_35 ) ; return METHOD_18 ( IDENT_24 ) ; } catch ( org . pentaho . platform . api . engine . IDENT_36 e ) { return METHOD_19 ( ) ; } catch ( java . lang . IllegalArgumentException e ) { return METHOD_20 ( e . getMessage ( ) ) ; } catch ( org . pentaho . platform . IDENT_1 . IDENT_2 . api . IDENT_37 e ) { return METHOD_21 ( e . getMessage ( ) ) ; } catch ( java . lang . Exception e ) { return METHOD_22 ( ) ; } }
org . junit . Assert . assertEquals ( IDENT_0 , response )