/** * @dataProvider provideModuleInstances * @expectedException Dat0r\Core\Module\InvalidFieldException */ public function testInvalidFieldException(IModule $module) { $module->getField('foobar-field-does-not-exist'); // @codeCoverageIgnoreStart }
public function hasValue($fieldname) { $field = $this->module->getField($fieldname); return $this->values->has($field); }