protected function DrupalClientTest::setUp in Facebook Instant Articles 3.x
Same name and namespace in other branches
- 8.2 tests/src/Unit/DrupalClientTest.php \Drupal\Tests\fb_instant_articles\Unit\DrupalClientTest::setUp()
Overrides UnitTestCase::setUp
File
- tests/
src/ Unit/ DrupalClientTest.php, line 30
Class
- DrupalClientTest
- Test the Drupal FBIA client wrapper.
Namespace
Drupal\Tests\fb_instant_articles\UnitCode
protected function setUp() : void {
parent::setUp();
$this->serializer = $this
->createMock(NormalizerInterface::class);
$this->logger = $this
->createMock(LoggerChannelInterface::class);
}