METHOD_0 ( ) { METHOD_1 ( ) . when ( org . pentaho . platform . IDENT_0 . IDENT_1 . IDENT_2 . service . impl . IDENT_3 . IDENT_4 ) . METHOD_2 ( ) ; doReturn ( "" ) . when ( org . pentaho . platform . IDENT_0 . IDENT_1 . IDENT_2 . service . impl . IDENT_3 . IDENT_4 ) . METHOD_3 ( anyString ( ) , anyString ( ) ) ; "<AssertPlaceHolder>" ; verify ( org . pentaho . platform . IDENT_0 . IDENT_1 . IDENT_2 . service . impl . IDENT_3 . IDENT_4 ) . METHOD_4 ( IDENT_5 ) ; verify ( IDENT_6 ) . METHOD_5 ( org . pentaho . platform . IDENT_0 . IDENT_1 . IDENT_2 . service . impl . IDENT_3 . IDENT_7 ) ; } METHOD_4 ( org . pentaho . database . model . IDENT_8 ) { org . pentaho . database . model . IDENT_8 conn = METHOD_6 ( connection . getName ( ) ) ; if ( conn != null ) { conn . METHOD_7 ( connection . METHOD_8 ( ) ) ; conn . METHOD_9 ( connection . METHOD_10 ( ) ) ; conn . METHOD_11 ( connection . METHOD_12 ( ) ) ; return true ; } else { org . pentaho . platform . IDENT_0 . IDENT_1 . IDENT_2 . service . impl . IDENT_9 . logger . error ( org . pentaho . platform . IDENT_0 . IDENT_1 . IDENT_2 . service . messages . IDENT_10 . METHOD_13 ( STRING_0 , connection . getName ( ) , null ) ) ; throw new org . pentaho . platform . IDENT_0 . IDENT_1 . IDENT_2 . service . METHOD_14 ( org . pentaho . platform . IDENT_0 . IDENT_1 . IDENT_2 . service . messages . IDENT_10 . METHOD_13 ( STRING_0 , connection . getName ( ) , null ) ) ; } }
org . junit . Assert . assertTrue ( org . pentaho . platform . IDENT_0 . IDENT_1 . IDENT_2 . service . impl . IDENT_3 . IDENT_4 . METHOD_4 ( IDENT_5 ) )