+ /**
+ * Tests if the method getField() is still unsupported in this class. Please
+ * note, that this and isFieldSet() may get removed in the future. So also
+ * these test methods will be gone.
+ */
+ public function testConfigGetFieldUnsupported () {
+ // Expect this exception
+ $this->expectException(UnsupportedOperationException::class);
+
+ // Test it
+ $dummy = self::$configInstance->getField('foo');
+ }
+
+ /**
+ * Tests if the method isFieldSet() is still unsupported in this class. Please
+ * note, that this and getField() may get removed in the future. So also
+ * these test methods will be gone.
+ */
+ public function testConfigIsFieldSetUnsupported () {
+ // Expect this exception
+ $this->expectException(UnsupportedOperationException::class);
+
+ // Test it
+ $dummy = self::$configInstance->isFieldSet('foo');
+ }
+