You are here

public function SettingsHelperTest::testGetUdfLimitsForTypeExpectedException in Acquia Lift Connector 8.3

Same name and namespace in other branches
  1. 8.4 tests/src/Unit/Service/Helper/SettingsHelperTest.php \Drupal\Tests\acquia_lift\Unit\Service\Helper\SettingsHelperTest::testGetUdfLimitsForTypeExpectedException()

Tests the getUdfLimitsForType() method, expected exception.

@covers ::getUdfLimitsForType

@expectedException \Exception @expectedExceptionCode 0 @expectedExceptionMessage This UDF Field type is not supported.

File

tests/src/Unit/Service/Helper/SettingsHelperTest.php, line 279

Class

SettingsHelperTest
SettingsHelper Test.

Namespace

Drupal\Tests\acquia_lift\Unit\Service\Helper

Code

public function testGetUdfLimitsForTypeExpectedException() {
  SettingsHelper::getUdfLimitsForType('non_exist');
}