function NameMungingTest::setUp
Overrides FileTestBase::setUp
File
- 
              core/tests/ Drupal/ KernelTests/ Core/ File/ NameMungingTest.php, line 56 
Class
- NameMungingTest
- Tests filename munging and unmunging.
Namespace
Drupal\KernelTests\Core\FileCode
protected function setUp() : void {
  parent::setUp();
  $this->badExtension = 'foo';
  $this->name = $this->randomMachineName() . '.' . $this->badExtension . '.txt';
  $this->nameWithUcExt = $this->randomMachineName() . '.' . strtoupper($this->badExtension) . '.txt';
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
