function testGetException_should_throw_an_exception_when_called_on_an_unset_method() { $rvm = new ReturnValuesManager('foo'); $this->expectException('Exception'); $rvm->getException('unset'); }