You are here

public function FixedRatesTest::setUp in Currency 8.3

Overrides UnitTestCase::setUp

File

tests/src/Unit/Plugin/Currency/ExchangeRateProvider/FixedRatesTest.php, line 42

Class

FixedRatesTest
@coversDefaultClass \Drupal\currency\Plugin\Currency\ExchangeRateProvider\FixedRates

Namespace

Drupal\Tests\currency\Unit\Plugin\Currency\ExchangeRateProvider

Code

public function setUp() : void {
  $configuration = array();
  $plugin_id = $this
    ->randomMachineName();
  $plugin_definition = array();
  $this->configFactory = $this
    ->createMock(ConfigFactoryInterface::class);
  $this->sut = new FixedRates($configuration, $plugin_id, $plugin_definition, $this->configFactory);
}