You are here

protected function StreamWrapperTest::resetStore in Examples for Developers 8

Same name and namespace in other branches
  1. 3.x modules/stream_wrapper_example/tests/src/Kernel/StreamWrapperTest.php \Drupal\Tests\stream_wrapper_example\Kernel\StreamWrapperTest::resetStore()

Clear the session storage area.

2 calls to StreamWrapperTest::resetStore()
StreamWrapperTest::testDirectories in stream_wrapper_example/tests/src/Kernel/StreamWrapperTest.php
Directory creation.
StreamWrapperTest::testReadWrite in stream_wrapper_example/tests/src/Kernel/StreamWrapperTest.php
Test functions on a URI.

File

stream_wrapper_example/tests/src/Kernel/StreamWrapperTest.php, line 138

Class

StreamWrapperTest
Test of the Session Stream Wrapper Class.

Namespace

Drupal\Tests\stream_wrapper_example\Kernel

Code

protected function resetStore() {
  $handle = $this
    ->getSessionHelper();
  $handle
    ->cleanUpStore();
}