phpspec/phpspec — pull request #181 by ciaranmcnulty (2013-08-30 23:27:35+00:00)
Title: Throw an exception when during() is used with unknown method

As described in #170

The following now fails + prompts method generation:

function it_should_throw_some_sort_of_exception()
{
$this->shouldThrow(\Exception::class)->during('foo',[]);
}