METHOD_0 ( ) { org . pentaho . platform . api . IDENT_0 . IDENT_1 IDENT_2 = mock ( org . pentaho . platform . api . IDENT_0 . IDENT_1 . class ) ; doReturn ( IDENT_2 ) . when ( IDENT_3 . IDENT_4 ) . METHOD_1 ( ) ; org . pentaho . platform . api . IDENT_0 . IDENT_1 IDENT_5 = IDENT_3 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_3 . IDENT_4 , times ( 1 ) ) . METHOD_1 ( ) ; } METHOD_1 ( ) { org . pentaho . platform . api . engine . IDENT_6 session = METHOD_2 ( ) ; final java . lang . String IDENT_7 = session . getName ( ) ; final java . lang . Boolean IDENT_8 = METHOD_3 ( ) . METHOD_4 ( IDENT_9 . IDENT_10 ) ; java . util . List < org . pentaho . platform . api . IDENT_0 . IDENT_1 > IDENT_11 = METHOD_5 ( ) . METHOD_6 ( METHOD_7 ( IDENT_8 , IDENT_7 ) ) ; if ( ( IDENT_11 . size ( ) ) > 0 ) { return IDENT_11 . get ( 0 ) ; } return null ; }
org . junit . Assert . assertEquals ( IDENT_2 , IDENT_5 )