You are here

public function FormatterTest::setUp in Telephone Formatter 8

Overrides UnitTestCase::setUp

File

tests/src/Unit/FormatterTest.php, line 35

Class

FormatterTest
Formatter test.

Namespace

Drupal\Tests\telephone_formatter\Unit

Code

public function setUp() {
  parent::setUp();
  $this->languageManager = $this
    ->createMock('\\Drupal\\Core\\Language\\LanguageManagerInterface');
  $this->formatterService = new Formatter($this->languageManager);
}