public function JsonBlueprintDenormalizerTest::testSupportsDenormalization in Subrequests 3.x
Same name and namespace in other branches
- 8.2 tests/src/Unit/Normalizer/JsonBlueprintDenormalizerTest.php \Drupal\Tests\subrequests\Normalizer\JsonBlueprintDenormalizerTest::testSupportsDenormalization()
@dataProvider dataProviderSupportsNormalization @covers ::supportsDenormalization
File
- tests/
src/ Unit/ Normalizer/ JsonBlueprintDenormalizerTest.php, line 32
Class
- JsonBlueprintDenormalizerTest
- @coversDefaultClass \Drupal\subrequests\Normalizer\JsonBlueprintDenormalizer @group subrequests
Namespace
Drupal\Tests\subrequests\NormalizerCode
public function testSupportsDenormalization($data, $type, $format, $is_supported) {
$actual = $this->sut
->supportsDenormalization($data, $type, $format);
$this
->assertSame($is_supported, $actual);
}