public function RequirementsExceptionTest::testGetExceptionString in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate/tests/src/Unit/Exception/RequirementsExceptionTest.php \Drupal\Tests\migrate\Unit\Exception\RequirementsExceptionTest::testGetExceptionString()
@covers ::getRequirementsString @dataProvider getRequirementsProvider
File
- core/
modules/ migrate/ tests/ src/ Unit/ Exception/ RequirementsExceptionTest.php, line 33 - Contains \Drupal\Tests\migrate\Unit\Exception\RequirementsExceptionTest.
Class
- RequirementsExceptionTest
- @coversDefaultClass \Drupal\migrate\Exception\RequirementsException @group migration
Namespace
Drupal\Tests\migrate\Unit\ExceptionCode
public function testGetExceptionString($expected, $message, $requirements) {
$exception = new RequirementsException($message, $requirements);
$this
->assertEquals($expected, $exception
->getRequirementsString());
}