Sonata\Exporter\Test\Writer\XmlWriterTest::testArrayDataFormat PHP Method

testArrayDataFormat() public method

public testArrayDataFormat ( )
    public function testArrayDataFormat()
    {
        $writer = new XmlWriter($this->filename);
        $writer->open();
        $writer->write(array('firstname' => 'john "2', 'lastname' => 'doe', 'id' => '1', 'tags' => array('foo', 'bar')));
        $writer->close();
    }