You are here

public function FileStorageReadOnlyTest::testWriteable in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 84
Contains \Drupal\Tests\Component\PhpStorage\FileStorageReadOnlyTest.

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());
}