You are here

protected function ReferenceWidgetTest::getTestedClassName in Select (or other) 4.x

Same name and namespace in other branches
  1. 8 tests/src/Unit/ReferenceWidgetTest.php \Drupal\Tests\select_or_other\Unit\ReferenceWidgetTest::getTestedClassName()

Return value

string The fully qualified class name of the subject under test.

Overrides UnitTestBase::getTestedClassName

1 call to ReferenceWidgetTest::getTestedClassName()
ReferenceWidgetTest::testPrepareElementValuesForValidation in tests/src/Unit/ReferenceWidgetTest.php
Tests preparation for EntityAutocomplete::validateEntityAutocomplete.

File

tests/src/Unit/ReferenceWidgetTest.php, line 23

Class

ReferenceWidgetTest
Tests the form element implementation.

Namespace

Drupal\Tests\select_or_other\Unit

Code

protected function getTestedClassName() {
  return 'Drupal\\select_or_other\\Plugin\\Field\\FieldWidget\\ReferenceWidget';
}