You are here

protected function SimpleFbConnectFbFactoryTest::setUp in Simple FB Connect 8.3

Overrides UnitTestCase::setUp

File

tests/src/Unit/SimpleFbConnectFbFactoryTest.php, line 22

Class

SimpleFbConnectFbFactoryTest
@coversDefaultClass Drupal\simple_fb_connect\SimpleFbConnectFbFactory @group simple_fb_connect

Namespace

Drupal\Tests\simple_fb_connect\Unit

Code

protected function setUp() {
  parent::setUp();
  $this->loggerFactory = $this
    ->getMock('Drupal\\Core\\Logger\\LoggerChannelFactoryInterface');
  $this->persistentDataHandler = $this
    ->getMockBuilder('Drupal\\simple_fb_connect\\SimpleFbConnectPersistentDataHandler')
    ->disableOriginalConstructor()
    ->getMock();
}