public function SettingsHelperTest::testGetUdfLimitsForType 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::testGetUdfLimitsForType()
Tests the getUdfLimitsForType() method.
@covers ::getUdfLimitsForType
@dataProvider providerTestGetUdfLimitsForType
Parameters
string $test_value:
boolean $expected:
File
- tests/
src/ Unit/ Service/ Helper/ SettingsHelperTest.php, line 222
Class
- SettingsHelperTest
- SettingsHelper Test.
Namespace
Drupal\Tests\acquia_lift\Unit\Service\HelperCode
public function testGetUdfLimitsForType($test_value, $expected) {
$result = SettingsHelper::getUdfLimitsForType($test_value);
$this
->assertEquals($expected, $result);
}