How to configure NetBeans autocomplete for PHP Mockery
===

When I use Mockery in a PHPUnit test, I do something like this:

    $mockedClass = \Mockery::mock('SomeClassName');
    $mockedClass->...

How can I make NetBeans to autocomplete after the `$mockedClass->`? `\Mockery::mock()` returns a `MockeryInterface` but NetBeans can't figure that out.