You are here

public function NameTestHelper::assertNameFormat in Name Field 7

Same name and namespace in other branches
  1. 6 tests/name.test \NameTestHelper::assertNameFormat()

File

tests/name.test, line 49
Tests for the name module.

Class

NameTestHelper
Helper test class with some added functions for testing.

Code

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