phpspec/phpspec — pull request #336 by damonjones (2014-03-23 18:05:01+00:00)
Title: Allow a simple factory method name to refer to a method in the subject's class

This simplifies the passing of a factory method to `beConstructedThrough()`, as per @henrikbjorn's suggestion in issue #141.

```php
$this->beConstructedThrough('myFactory');
```