public function testTooFewReturns() { $this->setExpectedException('\\RuntimeException', 'No result was provided for use when mocking execution of the command.'); $builder = new MockCommandBuilder(); $builder->setCommand('foo')->addArgument('--test')->buildCommand(); }