You are here

protected function SimpleFbConnectPersistentDataHandlerTest::setUp in Simple FB Connect 8.3

Overrides UnitTestCase::setUp

File

tests/src/Unit/SimpleFbConnectPersistentDataHandlerTest.php, line 20

Class

SimpleFbConnectPersistentDataHandlerTest
@coversDefaultClass Drupal\simple_fb_connect\SimpleFbConnectPersistentDataHandler @group simple_fb_connect

Namespace

Drupal\Tests\simple_fb_connect\Unit

Code

protected function setUp() {
  parent::setUp();
  $this->session = $this
    ->getMock('Symfony\\Component\\HttpFoundation\\Session\\SessionInterface');
  $this->persistentDataHandler = new SimpleFbConnectPersistentDataHandler($this->session);
}