You are here

public function FileStorageReadOnlyTest::testWriteable in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php \Drupal\Tests\Component\PhpStorage\FileStorageReadOnlyTest::testWriteable()
  2. 9 core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php \Drupal\Tests\Component\PhpStorage\FileStorageReadOnlyTest::testWriteable()

@covers ::writeable

File

core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php, line 83

Class

FileStorageReadOnlyTest
@coversDefaultClass \Drupal\Component\PhpStorage\FileReadOnlyStorage

Namespace

Drupal\Tests\Component\PhpStorage

Code

public function testWriteable() {
  $php_read = new FileReadOnlyStorage($this->readonlyStorage);
  $this
    ->assertFalse($php_read
    ->writeable());
}