You are here

public function SettingsHelperTest::testGetUdfLimitsForType 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::testGetUdfLimitsForType()

Tests the getUdfLimitsForType() method.

@covers ::getUdfLimitsForType

@dataProvider providerTestGetUdfLimitsForType

Parameters

string $test_value:

boolean $expected:

File

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

Class

SettingsHelperTest
SettingsHelper Test.

Namespace

Drupal\Tests\acquia_lift\Unit\Service\Helper

Code

public function testGetUdfLimitsForType($test_value, $expected) {
  $result = SettingsHelper::getUdfLimitsForType($test_value);
  $this
    ->assertEquals($expected, $result);
}