public function testCaseParser_EncodesThenDecodesDataProperly_ForObjectParsers(ParserInterface $parser) { $data = $this->getObject(); $this->assertEquals($data, $parser->decode($parser->encode($data))); }