function NameTestHelper::assertNameFormat in Name Field 6
Same name and namespace in other branches
- 7 tests/name.test \NameTestHelper::assertNameFormat()
File
- tests/
name.test, line 24 - Tests for the name module.
Class
- NameTestHelper
- Helper test class with some added functions for testing.
Code
function assertNameFormat($name_components, $type, $object, $format, $expected, array $options = array()) {
$this
->assertNameFormats($name_components, $type, $object, array(
$format => $expected,
), $options);
}