install mockery
test sample

http://kore1server.com/184
$ cd app/tests/
$ phpunit --bootstrap ../../bootstrap/autoload.php AppleTest.php