METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . lang . String IDENT_1 = STRING_0 ; java . lang . String IDENT_2 = STRING_1 ; org . pentaho . platform . api . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 IDENT_7 = mock ( org . pentaho . platform . api . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . class ) ; org . pentaho . platform . api . IDENT_3 . IDENT_4 . IDENT_8 IDENT_9 = mock ( org . pentaho . platform . api . IDENT_3 . IDENT_4 . IDENT_8 . class ) ; doReturn ( IDENT_2 ) . when ( IDENT_9 ) . getId ( ) ; org . pentaho . platform . web . http . api . resources . IDENT_10 IDENT_11 = mock ( org . pentaho . platform . web . http . api . resources . IDENT_10 . class ) ; java . util . List < org . pentaho . platform . api . IDENT_3 . IDENT_4 . IDENT_8 > IDENT_12 = new java . util . ArrayList < org . pentaho . platform . api . IDENT_3 . IDENT_4 . IDENT_8 > ( ) ; org . pentaho . platform . api . IDENT_3 . IDENT_4 . IDENT_8 IDENT_13 = mock ( org . pentaho . platform . api . IDENT_3 . IDENT_4 . IDENT_8 . class ) ; doReturn ( false ) . when ( IDENT_13 ) . METHOD_1 ( ) ; IDENT_12 . add ( IDENT_13 ) ; java . util . Map < java . lang . String , java . io . IDENT_14 > IDENT_15 = mock ( java . util . Map . class ) ; doReturn ( IDENT_0 ) . when ( IDENT_15 ) . get ( IDENT_16 . IDENT_17 ) ; when ( org . pentaho . platform . web . http . api . resources . services . IDENT_18 . IDENT_19 . repository . METHOD_2 ( IDENT_13 . getId ( ) ) ) . thenReturn ( IDENT_15 ) ; doReturn ( IDENT_1 ) . when ( IDENT_7 ) . getId ( ) ; doReturn ( IDENT_2 ) . when ( IDENT_11 ) . METHOD_3 ( ) ; doReturn ( IDENT_9 ) . when ( org . pentaho . platform . web . http . api . resources . services . IDENT_18 . IDENT_19 . repository ) . METHOD_4 ( IDENT_2 ) ; doReturn ( IDENT_11 ) . when ( org . pentaho . platform . web . http . api . resources . services . IDENT_18 . IDENT_19 ) . METHOD_5 ( ) ; doReturn ( IDENT_12 ) . when ( org . pentaho . platform . web . http . api . resources . services . IDENT_18 . IDENT_19 . repository ) . METHOD_6 ( IDENT_2 ) ; org . pentaho . platform . api . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 IDENT_20 = mock ( org . pentaho . platform . api . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . class ) ; doReturn ( IDENT_20 ) . when ( org . pentaho . platform . web . http . api . resources . services . IDENT_18 . IDENT_19 ) . METHOD_7 ( IDENT_13 , null , false ) ; try { doReturn ( IDENT_7 ) . when ( org . pentaho . platform . web . http . api . resources . services . IDENT_18 . IDENT_19 ) . METHOD_8 ( IDENT_1 ) ; java . util . List < org . pentaho . platform . api . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 > list = org . pentaho . platform . web . http . api . resources . services . IDENT_18 . IDENT_19 . METHOD_9 ( IDENT_2 , IDENT_0 , IDENT_16 . IDENT_17 ) ; "<AssertPlaceHolder>" ; } catch ( java . io . IDENT_21 e ) { e . printStackTrace ( ) ; org . junit . Assert . fail ( ) ; } catch ( java . lang . Throwable t ) { org . junit . Assert . fail ( ) ; } } size ( ) { return METHOD_10 ( ) . size ( ) ; }
org . junit . Assert . assertEquals ( list . size ( ) , 1 )