Fixes Object of class SplFileInfo could not be converted to boolean

When using mockery to mock a file like so:

```PHP
    protected function setUp()
    {
        $stream = new TokenStream();
        $stream->setCode(self::FILE_CONTENTS);

        /** @var Source $source */
        $source = (new Instantiator())->instantiate('TheDevNetwork\\CodeTools\\Model\\Source');
        $file = (new Instantiator())->instantiate('Symfony\\Component\\Finder\\SplFileInfo');
        $fileMock = Mockery::mock($file);
        $fileMock
            ->shouldReceive('getBaseName')
            ->atLeast(1)
            ->andReturn('VirtualClass');

        $source->setStream($stream);
        $sourceMock = Mockery::mock($source);
        $sourceMock
            ->shouldReceive('getFile')
            ->atLeast(1)
            ->andReturn($fileMock);

        $this->objectHelper = new ObjectHelper($source);
    }
```

An exception is thrown: 
Object of class Symfony\Component\Finder\SplFileInfo could not be converted to boolean

This fixes it.
Merge pull request #379 from vpassapera/patch-1

Fixes Object of class SplFileInfo could not be converted to boolean
Basic spy implementation
Allow specifying args for shouldNotHaveReceived
Better test titles
Added note about spies to changelog
Make shouldHaveReceived take args as well
Merge pull request #283 from davedevelopment/spies

Basic/naive spy implementation
Add MockeryTestCase for better PHPUnit integration
Switch most tests that involve mocking to MockeryTestCase
Add MockeryTestCase to changelog
Typo
Merge pull request #380 from davedevelopment/mockery-test-case

Mockery test case
modified .gitignore to ignore config files from PHPStorm
spy methods included in MockInterface
Merge pull request #383 from fhinkel/spies

Spy methods included in MockInterface
fix for issue 384
Merge pull request #385 from fhinkel/384

Fix for issue 384
Merge pull request #3 from padraic/master

Update from origin