METHOD_0 ( ) { when ( listener . METHOD_1 ( ) ) . thenReturn ( IDENT_0 ) ; when ( IDENT_0 . METHOD_2 ( org . pentaho . platform . engine . services . connection . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 ) ) . METHOD_3 ( new org . pentaho . platform . api . data . METHOD_4 ( ) ) ; javax . sql . IDENT_5 IDENT_6 = listener . METHOD_2 ( connection ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String ) { org . pentaho . commons . connection . IDENT_7 IDENT_8 = null ; org . pentaho . platform . api . engine . IDENT_9 IDENT_10 = IDENT_11 . METHOD_5 ( IDENT_12 ) ; if ( IDENT_10 == null ) { throw new org . pentaho . platform . api . engine . METHOD_6 ( org . pentaho . platform . engine . services . messages . IDENT_13 . getInstance ( ) . METHOD_7 ( STRING_0 , IDENT_12 , IDENT_14 . METHOD_8 ( ) ) ) ; } java . lang . Object IDENT_15 = IDENT_10 . getValue ( ) ; if ( IDENT_15 != null ) { if ( IDENT_15 instanceof org . pentaho . platform . api . repository . IDENT_16 ) { IDENT_8 = ( ( org . pentaho . platform . api . repository . IDENT_16 ) ( IDENT_15 ) ) . METHOD_2 ( ) ; } } return IDENT_8 ; }
org . junit . Assert . assertNull ( IDENT_6 )