METHOD_0 ( ) { org . pentaho . platform . api . engine . IDENT_0 policy = mock ( org . pentaho . platform . api . engine . IDENT_0 . class ) ; when ( IDENT_1 . METHOD_1 ( ) ) . thenReturn ( policy ) ; when ( policy . METHOD_2 ( anyString ( ) ) ) . thenReturn ( true ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( org . pentaho . platform . api . engine . IDENT_2 ) { org . pentaho . platform . api . engine . IDENT_0 policy = METHOD_1 ( ) ; if ( policy == null ) { org . pentaho . platform . engine . security . IDENT_3 . logger . warn ( STRING_0 ) ; return false ; } return ( ( policy . METHOD_2 ( STRING_1 ) ) && ( policy . METHOD_2 ( STRING_2 ) ) ) && ( policy . METHOD_2 ( STRING_3 ) ) ; }
org . junit . Assert . assertTrue ( IDENT_1 . METHOD_3 ( any ( ) ) )