You are here

public function FileStorageReadOnlyTest::testWriteable in Drupal 9

Same name and namespace in other branches
  1. 8 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());
}