You are here

public function RngEventTypeEntityTest::testGetDefaultRegistrantTypeDefault in RNG - Events and Registrations 8.2

Same name and namespace in other branches
  1. 8 tests/src/Kernel/RngEventTypeEntityTest.php \Drupal\Tests\rng\Kernel\RngEventTypeEntityTest::testGetDefaultRegistrantTypeDefault()
  2. 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 103

Class

RngEventTypeEntityTest
Tests event type entities.

Namespace

Drupal\Tests\rng\Kernel

Code

public function testGetDefaultRegistrantTypeDefault() {
  $event_type = $this
    ->createEventTypeBase();
  $result = $event_type
    ->getDefaultRegistrantType();
  $this
    ->assertNull($result);
}