public function RngEventTypeEntityTest::testGetDefaultRegistrantTypeDefault in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 tests/src/Kernel/RngEventTypeEntityTest.php \Drupal\Tests\rng\Kernel\RngEventTypeEntityTest::testGetDefaultRegistrantTypeDefault()
- 8 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 103
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);
}