Skip to content

Commit

Permalink
test class not found on denormalize
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-gribanov committed Jun 23, 2017
1 parent 140e830 commit 9d37727
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/Serializer/PayloadNormalizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ public function testSupportsDenormalization()
$this->assertTrue($this->serializer->supportsDenormalization($payload, ContactByIdentityQuery::class));
}

public function testSupportsDenormalizationNoClass()
{
$this->assertFalse($this->serializer->supportsDenormalization(['id' => 123], 'foo'));
}

public function testDenormalize()
{
$payload = [
Expand Down

0 comments on commit 9d37727

Please sign in to comment.