public function SettingsHelperTest::testGetUdfLimitsForTypeExpectedException in Acquia Lift Connector 8.4
Same name and namespace in other branches
- 8.3 tests/src/Unit/Service/Helper/SettingsHelperTest.php \Drupal\Tests\acquia_lift\Unit\Service\Helper\SettingsHelperTest::testGetUdfLimitsForTypeExpectedException()
Tests the getUdfLimitsForType() method, expected exception.
@covers ::getUdfLimitsForType
File
- tests/
src/ Unit/ Service/ Helper/ SettingsHelperTest.php, line 245
Class
- SettingsHelperTest
- SettingsHelper Test.
Namespace
Drupal\Tests\acquia_lift\Unit\Service\HelperCode
public function testGetUdfLimitsForTypeExpectedException() {
$this
->expectException(Exception::class);
$this
->expectExceptionCode(0);
$this
->expectExceptionMessage('This UDF Field type is not supported.');
SettingsHelper::getUdfLimitsForType('non_exist');
}