METHOD_0 ( ) { javax . servlet . http . IDENT_0 request = org . mockito . Mockito . mock ( javax . servlet . http . IDENT_0 . class ) ; javax . servlet . http . IDENT_1 response = org . mockito . Mockito . mock ( javax . servlet . http . IDENT_1 . class ) ; org . mockito . Mockito . when ( request . METHOD_1 ( STRING_0 ) ) . thenReturn ( STRING_1 ) ; java . io . StringWriter out = new java . io . StringWriter ( ) ; java . io . IDENT_2 IDENT_3 = new java . io . METHOD_2 ( out ) ; org . mockito . Mockito . when ( request . METHOD_3 ( ) ) . thenReturn ( IDENT_4 . IDENT_5 ) ; org . mockito . Mockito . when ( response . METHOD_4 ( ) ) . thenReturn ( IDENT_3 ) ; org . pentaho . di . IDENT_6 . IDENT_7 IDENT_8 = org . mockito . Mockito . mock ( org . pentaho . di . IDENT_6 . IDENT_7 . class ) ; org . pentaho . di . IDENT_6 . IDENT_9 IDENT_10 = org . mockito . Mockito . mock ( org . pentaho . di . IDENT_6 . IDENT_9 . class ) ; org . mockito . Mockito . when ( IDENT_8 . METHOD_5 ( ) ) . thenReturn ( IDENT_10 ) ; org . pentaho . di . repository . IDENT_11 repository = org . mockito . Mockito . mock ( org . pentaho . di . repository . IDENT_11 . class ) ; org . mockito . Mockito . when ( IDENT_10 . METHOD_6 ( ) ) . thenReturn ( repository ) ; org . pentaho . di . repository . IDENT_12 IDENT_13 = org . mockito . Mockito . mock ( org . pentaho . di . repository . IDENT_12 . class ) ; org . mockito . Mockito . when ( repository . METHOD_7 ( ) ) . thenReturn ( IDENT_13 ) ; org . mockito . Mockito . when ( IDENT_13 . METHOD_8 ( org . mockito . Mockito . anyString ( ) ) ) . thenReturn ( IDENT_13 ) ; org . pentaho . di . IDENT_14 . IDENT_15 IDENT_16 = org . mockito . Mockito . mock ( org . pentaho . di . IDENT_14 . IDENT_15 . class ) ; org . mockito . Mockito . when ( repository . METHOD_9 ( org . mockito . Mockito . any ( ) , org . mockito . Mockito . any ( ) ) ) . thenReturn ( IDENT_16 ) ; java . lang . String IDENT_17 = STRING_2 ; org . mockito . Mockito . when ( IDENT_16 . METHOD_10 ( ) ) . thenReturn ( new java . lang . String [ ] { IDENT_17 } ) ; org . mockito . Mockito . when ( IDENT_16 . METHOD_11 ( org . mockito . Mockito . anyString ( ) ) ) . thenReturn ( STRING_3 ) ; org . mockito . Mockito . when ( IDENT_16 . METHOD_12 ( ) ) . thenReturn ( new java . lang . String [ ] { IDENT_17 } ) ; org . mockito . Mockito . when ( request . METHOD_13 ( ) ) . thenReturn ( new java . util . METHOD_14 ( IDENT_17 ) ) ; java . lang . String IDENT_18 = STRING_4 ; org . mockito . Mockito . when ( request . METHOD_15 ( IDENT_17 ) ) . thenReturn ( new java . lang . String [ ] { IDENT_18 } ) ; org . pentaho . di . IDENT_6 . IDENT_4 IDENT_19 = org . mockito . Mockito . mock ( org . pentaho . di . IDENT_6 . IDENT_4 . class ) ; org . mockito . Mockito . METHOD_16 ( ) . when ( IDENT_19 ) . METHOD_17 ( org . mockito . Mockito . METHOD_18 ( ) , org . mockito . Mockito . METHOD_18 ( ) ) ; org . pentaho . di . IDENT_14 . IDENT_20 IDENT_14 = new org . pentaho . di . IDENT_14 . METHOD_19 ( IDENT_16 , new org . pentaho . di . core . logging . METHOD_20 ( IDENT_4 . IDENT_5 , org . pentaho . di . core . logging . IDENT_21 . IDENT_22 , null ) ) ; org . mockito . Mockito . when ( IDENT_19 . METHOD_21 ( org . mockito . Mockito . METHOD_18 ( ) , org . mockito . Mockito . METHOD_18 ( ) ) ) . thenReturn ( IDENT_14 ) ; org . mockito . Mockito . when ( IDENT_16 . METHOD_22 ( org . mockito . Mockito . eq ( IDENT_17 ) ) ) . thenReturn ( IDENT_18 ) ; IDENT_19 . log = new org . pentaho . di . core . logging . METHOD_23 ( STRING_5 ) ; IDENT_19 . IDENT_23 = IDENT_8 ; IDENT_19 . METHOD_17 ( request , response ) ; "<AssertPlaceHolder>" ; } METHOD_22 ( java . lang . String ) { return IDENT_24 . METHOD_22 ( key ) ; }
org . junit . Assert . assertEquals ( IDENT_18 , IDENT_14 . METHOD_22 ( IDENT_17 ) )