public function providerTestSupportsNormalization() { return [ // Something that is not an object should return FALSE immediately.
[FALSE,
[]],
// An object with no class set should return FALSE.
[FALSE,
new \
stdClass()],
// Set a supported Class.
[TRUE,
new \
stdClass(), 'stdClass'
],
// Set a supported interface.
[TRUE,
new \
RecursiveArrayIterator(), 'RecursiveIterator'
],
// Set a different class.
[FALSE,
new \
stdClass(), 'ArrayIterator'
],
// Set a different interface.
[FALSE,
new \
stdClass(), 'RecursiveIterator'
],
];
}}/**
* Test class for NormalizerBase.
*/