public function RngEventTypeEntityTest::testGetDefaultRegistrantTypeDefault in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 tests/src/Kernel/RngEventTypeEntityTest.php \Drupal\Tests\rng\Kernel\RngEventTypeEntityTest::testGetDefaultRegistrantTypeDefault()
- 3.x tests/src/Kernel/RngEventTypeEntityTest.php \Drupal\Tests\rng\Kernel\RngEventTypeEntityTest::testGetDefaultRegistrantTypeDefault()
Test getting default registrant type defaults set.
@covers ::getDefaultRegistrantType
File
- tests/
src/ Kernel/ RngEventTypeEntityTest.php, line 69
Class
- RngEventTypeEntityTest
- Tests event type entities.
Namespace
Drupal\Tests\rng\KernelCode
public function testGetDefaultRegistrantTypeDefault() {
$event_type = $this
->createEventTypeBase();
$result = $event_type
->getDefaultRegistrantType();
$this
->assertNull($result);
}