public function EventDispatcherTest::testResolveCountryCode in Currency 8.3
@covers ::resolveCountryCode
File
- tests/
src/ Unit/ EventDispatcherTest.php, line 44
Class
- EventDispatcherTest
- @coversDefaultClass \Drupal\currency\EventDispatcher
Namespace
Drupal\Tests\currency\UnitCode
public function testResolveCountryCode() {
$this->symfonyEventDispatcher
->expects($this
->once())
->method('dispatch')
->with(CurrencyEvents::RESOLVE_COUNTRY_CODE, $this
->isInstanceOf(ResolveCountryCode::class));
$this->sut
->resolveCountryCode();
}