public function ChartsTypeInfoTest::testGetChartTypeWithNonExistentChartType in Charts 8.3
Tests getChartType() with a nonexistent chart type.
File
- tests/
src/ Unit/ Settings/ ChartsTypeInfoTest.php, line 107
Class
- ChartsTypeInfoTest
- Tests the ChartsTypeInfo class.
Namespace
Drupal\Tests\charts\Unit\SettingsCode
public function testGetChartTypeWithNonExistentChartType() {
$chartTypeInfo = $this->chartsTypeInfo
->getChartType('some_type');
$this
->assertFalse($chartTypeInfo);
}