public function GetSetMethodNormalizerTest::testCallbacks

@dataProvider provideCallbacks

File

drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Tests/Normalizer/GetSetMethodNormalizerTest.php, line 58

Class

GetSetMethodNormalizerTest

Namespace

Symfony\Component\Serializer\Tests\Normalizer

Code

public function testCallbacks($callbacks, $value, $result, $message) {
  $this->normalizer
    ->setCallbacks($callbacks);
  $obj = new GetConstructorDummy('', $value);
  $this
    ->assertEquals($result, $this->normalizer
    ->normalize($obj, 'any'), $message);
}