@@ 63-69 (lines=7) @@ | ||
60 | $this->denormalizer->denormalize([], FacadeCisListResponse::class); |
|
61 | } |
|
62 | ||
63 | public function testDenormalizationWhenWrongData(): void |
|
64 | { |
|
65 | $this->denormalizer->setDenormalizer($this->inner); |
|
66 | ||
67 | $this->expectException(InvalidArgumentException::class); |
|
68 | $this->denormalizer->denormalize('wrong', FacadeCisListResponse::class); |
|
69 | } |
|
70 | ||
71 | public function testDenormalizationWhenWrongType(): void |
|
72 | { |
|
@@ 71-77 (lines=7) @@ | ||
68 | $this->denormalizer->denormalize('wrong', FacadeCisListResponse::class); |
|
69 | } |
|
70 | ||
71 | public function testDenormalizationWhenWrongType(): void |
|
72 | { |
|
73 | $this->denormalizer->setDenormalizer($this->inner); |
|
74 | ||
75 | $this->expectException(InvalidArgumentException::class); |
|
76 | $this->denormalizer->denormalize([], \stdClass::class); |
|
77 | } |
|
78 | ||
79 | public function testDenormalizationWorks(): void |
|
80 | { |