BossaConsulting/phpspec2-expect — pull request #18 by whisller (2014-08-14 10:24:30+00:00)
Title: Handle situation when `expect` is executed inside of abstract class.

By mistake I removed my branch for previous PR https://github.com/BossaConsulting/phpspec2-expect/pull/16

Problem occurs for classes that extend abstract class which executes `expect` function.
In my case it's behat's context file with some default steps.

How to reproduce:

```php
toBe(true);
}
}

class MyClass extends MyAbstract
{
}

$obj = new MyClass();
$obj->run();

// PHP Fatal error: Cannot instantiate abstract class MyAbstract in /vagrant/vendor/bossa/phpspec2-expect/expect.php on line 76
```