/** * It should throw an exception if it is attempted to get an exception when none has been set. * * @expectedException RuntimeException */ public function testExceptionNoneGet() { $iterations = new IterationCollection($this->subject->reveal(), $this->parameterSet->reveal(), 4, 1, 0); $iterations->getException(); }