METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . lang . String IDENT_1 = STRING_1 ; doReturn ( IDENT_1 ) . when ( IDENT_2 . IDENT_3 ) . METHOD_1 ( org . pentaho . platform . web . http . api . resources . IDENT_4 . IDENT_5 , IDENT_0 ) ; java . lang . String IDENT_6 = IDENT_2 . METHOD_1 ( org . pentaho . platform . web . http . api . resources . IDENT_4 . IDENT_5 , IDENT_0 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 . IDENT_3 , times ( 1 ) ) . METHOD_1 ( org . pentaho . platform . web . http . api . resources . IDENT_4 . IDENT_5 , IDENT_0 ) ; } METHOD_1 ( java . lang . String , java . lang . String ) { java . util . IDENT_7 IDENT_8 = new java . util . METHOD_2 ( IDENT_0 , STRING_2 ) ; java . util . List < java . lang . Integer > IDENT_9 = new java . util . ArrayList < java . lang . Integer > ( ) ; while ( IDENT_8 . METHOD_3 ( ) ) { java . lang . Integer IDENT_10 = java . lang . Integer . valueOf ( IDENT_8 . METHOD_4 ( ) ) ; switch ( IDENT_10 ) { case 0 : { IDENT_9 . add ( IDENT_11 . IDENT_12 . METHOD_5 ( ) ) ; break ; } case 1 : { IDENT_9 . add ( IDENT_11 . IDENT_13 . METHOD_5 ( ) ) ; break ; } case 2 : { IDENT_9 . add ( IDENT_11 . IDENT_14 . METHOD_5 ( ) ) ; break ; } case 3 : { IDENT_9 . add ( IDENT_11 . IDENT_15 . METHOD_5 ( ) ) ; break ; } case 4 : { IDENT_9 . add ( IDENT_11 . IDENT_16 . METHOD_5 ( ) ) ; break ; } } } return METHOD_6 ( ) . METHOD_7 ( METHOD_8 ( IDENT_17 ) , IDENT_9 ) ? STRING_3 : STRING_4 ; }
org . junit . Assert . assertEquals ( IDENT_1 , IDENT_6 )