how to test sugarhook logic in sugarcrm10

I have the following logic hook 

I have been trying to test some of this code using phpunit and mocking objects, But I am having trouble understanding how it works and what to do

I get error with `Attempt to assign property 'getBeans' of non-object`

Parents Reply Children
No Data