You are here

class TestDefaultTableMapping in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php \Drupal\Tests\Core\Entity\Sql\TestDefaultTableMapping
  2. 9 core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php \Drupal\Tests\Core\Entity\Sql\TestDefaultTableMapping

Extends DefaultTableMapping to allow calling its protected methods.

Hierarchy

Expanded class hierarchy of TestDefaultTableMapping

File

core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php, line 609

Namespace

Drupal\Tests\Core\Entity\Sql
View source
class TestDefaultTableMapping extends DefaultTableMapping {

  /**
   * {@inheritdoc}
   */
  public function setFieldNames($table_name, array $field_names) {
    return parent::setFieldNames($table_name, $field_names);
  }

  /**
   * {@inheritdoc}
   */
  public function setExtraColumns($table_name, array $column_names) {
    return parent::setExtraColumns($table_name, $column_names);
  }

}

Members