function TraitsTest::testConfigFilesCallback
Tests that RetrieveConfigFilesTrait::configFilesCallback() works.
@dataProvider providerConfigFilesFiles
File
-
tests/
src/ Unit/ TraitsTest.php, line 45
Class
- TraitsTest
- Tests for the traits defined in\Drupal\Tests\examples\Unit.
Namespace
Drupal\Tests\examples\UnitCode
public function testConfigFilesCallback(string $filename, string $path, string $pathname) : void {
$this->assertNotEquals('example_no_config_files_test.yml', $filename, "{$filename} is not in the right directory ({$path}) and should have not been retrieved.");
}