You are here

protected function NameTestBase::assertNameFormat in Name Field 8

Helper function.

@todo describe this method.

File

tests/src/Functional/NameTestBase.php, line 87

Class

NameTestBase
Helper test class with some added functions for testing.

Namespace

Drupal\Tests\name\Functional

Code

protected function assertNameFormat($name_components, $type, $object, $format, $expected, array $options = []) {
  $this
    ->assertNameFormats($name_components, $type, $object, [
    $format => $expected,
  ], $options);
}