METHOD_0 ( ) { org . pentaho . database . service . IDENT_0 IDENT_1 = new org . pentaho . database . service . METHOD_1 ( false ) ; final org . pentaho . database . util . IDENT_2 IDENT_3 = new org . pentaho . database . util . METHOD_2 ( IDENT_1 . METHOD_3 ( ) ) ; final org . pentaho . database . model . IDENT_4 IDENT_5 = new org . pentaho . database . model . METHOD_4 ( ) ; IDENT_5 . setId ( STRING_0 ) ; IDENT_5 . setName ( STRING_0 ) ; IDENT_5 . METHOD_5 ( IDENT_6 . IDENT_7 ) ; IDENT_5 . METHOD_6 ( IDENT_3 . METHOD_7 ( STRING_1 ) ) ; IDENT_5 . METHOD_8 ( STRING_2 ) ; IDENT_5 . METHOD_9 ( STRING_3 ) ; final java . util . HashMap < java . lang . String , java . lang . String > IDENT_8 = new java . util . HashMap ( ) ; IDENT_8 . put ( METHOD_4 . IDENT_9 , "" ) ; IDENT_8 . put ( METHOD_4 . IDENT_10 , STRING_4 ) ; IDENT_5 . METHOD_10 ( IDENT_8 ) ; try { org . pentaho . platform . engine . services . connection . IDENT_11 . IDENT_12 . IDENT_13 . convert ( IDENT_5 , ( ) -> IDENT_1 ) ; org . junit . Assert . fail ( STRING_5 ) ; } catch ( org . pentaho . platform . api . data . IDENT_14 ex ) { "<AssertPlaceHolder>" ; } } convert ( org . pentaho . database . model . IDENT_15 , java . util . function . IDENT_16 ) { org . springframework . jdbc . IDENT_11 . IDENT_17 IDENT_18 = new org . springframework . jdbc . IDENT_11 . METHOD_11 ( ) ; org . pentaho . database . IDENT_19 IDENT_20 = java . util . Optional . METHOD_12 ( IDENT_21 . get ( ) ) . METHOD_13 ( ( ) -> new org . pentaho . platform . api . data . METHOD_14 ( org . pentaho . platform . engine . services . messages . IDENT_22 . getInstance ( ) . METHOD_15 ( STRING_6 ) ) ) . METHOD_16 ( IDENT_23 ) ; if ( ( ( IDENT_23 . METHOD_17 ( ) ) == null ) && ( IDENT_20 == null ) ) { throw new org . pentaho . platform . api . data . METHOD_14 ( org . pentaho . platform . engine . services . messages . IDENT_22 . getInstance ( ) . METHOD_15 ( STRING_7 , IDENT_23 . getName ( ) ) ) ; } if ( IDENT_23 . METHOD_17 ( ) . METHOD_18 ( ) . equals ( STRING_1 ) ) { java . lang . String IDENT_24 = IDENT_23 . METHOD_19 ( ) . get ( IDENT_25 . IDENT_9 ) ; if ( ! ( org . apache . commons . lang . StringUtils . isEmpty ( IDENT_24 ) ) ) { org . pentaho . platform . engine . services . connection . IDENT_11 . IDENT_12 . IDENT_13 . METHOD_20 ( IDENT_18 , IDENT_20 , IDENT_24 , IDENT_23 . getName ( ) ) ; } else { throw new org . pentaho . platform . api . data . METHOD_14 ( org . pentaho . platform . engine . services . messages . IDENT_22 . getInstance ( ) . METHOD_15 ( STRING_8 , IDENT_23 . getName ( ) ) ) ; } } else { if ( ! ( org . apache . commons . lang . StringUtils . isEmpty ( IDENT_20 . METHOD_21 ( ) ) ) ) { org . pentaho . platform . engine . services . connection . IDENT_11 . IDENT_12 . IDENT_13 . METHOD_20 ( IDENT_18 , IDENT_20 , IDENT_20 . METHOD_21 ( ) , IDENT_23 . getName ( ) ) ; } else { throw new org . pentaho . platform . api . data . METHOD_14 ( org . pentaho . platform . engine . services . messages . IDENT_22 . getInstance ( ) . METHOD_15 ( STRING_9 , IDENT_23 . getName ( ) ) ) ; } } try { IDENT_18 . METHOD_22 ( IDENT_20 . METHOD_23 ( IDENT_23 ) ) ; } catch ( org . pentaho . database . IDENT_26 e ) { IDENT_18 . METHOD_22 ( null ) ; } IDENT_18 . METHOD_8 ( IDENT_23 . METHOD_24 ( ) ) ; IDENT_18 . METHOD_9 ( IDENT_23 . METHOD_25 ( ) ) ; return IDENT_18 ; }
org . junit . Assert . assertNotNull ( ex )