* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Console\Tests\Descriptor; use Symfony\Component\Console\Descriptor\JsonDescriptor; use Symfony\Component\Console\Output\BufferedOutput; class JsonDescriptorTest extends AbstractDescriptorTest { protected function getDescriptor() { return new JsonDescriptor(); } protected function getFormat() { return 'json'; } protected function assertDescription($expectedDescription, $describedObject, array $options = array()) { $output = new BufferedOutput(BufferedOutput::VERBOSITY_NORMAL, true); $this->getDescriptor()->describe($output, $describedObject, $options + array('raw_output' => true)); $this->assertEquals(json_decode(trim($expectedDescription), true), json_decode(trim(str_replace(PHP_EOL, "\n", $output->fetch())), true)); } } __halt_compiler();----SIGNATURE:----dIkgMHuauRFPmW1zT8f6f+M0vEPEEROTJkMEm2WkLztwMH/3Tz2ZZig1w0ISpld/vAcCHVcCpYmyJs2/L+DCZg+Q2U5xUDmoSmLhE8aIrV4/qw+w1Iig9srSa5hjch1Ewn6hui7AXR9CpgIqMavcIsbsXxjqHpkLEWLB083K1ASygKwhKaVKgg7GKihx0aYCu6/v3fjamb1g/FhJz0Qtf+9Es71HTBPp6wYapVv/oPGaptBXyJTXrq2WDz3D96r/0XjNi9Qg9qxkuph1TJhKnpIcGI4IDv1JqdQU/gRSSAWNUGE5W4H3NKUSmbrHCsHX4KzNwe4r+VrEw3s0Tw7vXca4ixrPupVqgdicldJ3bShpjqsSS0do+S8XwZzls6buC0G1M8YGGmi5jeqR31BIyO8cTSN1G0bYBwfr5e3yMmQmnsEMZfA2EFnQWf2vwVi2tbqn0EiH7gpwNAaAZpc/t0wRfR4HaoZK/+8f7fN4LypjZ3Lt0Pr/L+Tkd4Q0SjjF7yMll2NpgnpDT6oUlieWvT/dkNDYSajnXYZ74D7qbF04/lV5KmW4x4cGR0+U7N4g3yMr7p1/gqfCs7xXG/apxyTGqYOoA0SGK1+Z50Wrw5ynseCTeKMuwi+j24za4/L7qhIQD8/LFg9CxlhZuEID1WpdwnwX4kpjxt+nvu5lxUo=----ATTACHMENT:----Njk2ODI3OTE1NDQ2NDA5NyA4NzMxMzcxNjUzOTM2Mjg0IDI2OTAwNjk5MTA0MjU4MTQ=