@Test
public void testSimple() throws Exception {

    String expectedXml = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n" +
            "<syncConfig xmlns=\"http://www.emc.com/ecs/sync/model\">\n" +
            "    <options>\n" +
            "        <sourceListFile>sourceListFile</sourceListFile>\n" +
            "        <verify>false</verify>\n" +
            "        <threadCount>16</threadCount>\n" +
            "        <dbTable>dbTable</dbTable>\n" +
            "    </options>\n" +
            "\n" +
            "    <source>\n" +
            "        <xGSConfig>\n" +
            "            <array>value</array>\n" +
            "            <number>4</number>\n" +
            "            <restrictedString>restrictedString</restrictedString>\n" +
            "            <string>string</string>\n" +
            "            <xgType>bar</xgType>\n" +
            "        </xGSConfig>\n" +
            "    </source>\n" +
            "\n" +
            "    <filters>\n" +
            "        <xGFConfig>\n" +
            "            <array>value</array>\n" +
            "            <number>4</number>\n" +
            "            <restrictedString>restrictedString</restrictedString>\n" +
            "            <string>string</string>\n" +
            "            <xgType>bar</xgType>\n" +
            "        </xGFConfig>\n" +
            "        <xGFConfig>\n" +
            "            <array>value</array>\n" +
            "            <number>4</number>\n" +
            "            <restrictedString>restrictedString</restrictedString>\n" +
            "            <string>string</string>\n" +
            "            <xgType>bar</xgType>\n" +
            "        </xGFConfig>\n" +
            "    </filters>\n" +
            "\n" +
            "    <target>\n" +
            "        <xGSConfig>\n" +
            "            <array>value</array>\n" +
            "            <number>4</number>\n" +
            "            <restrictedString>restrictedString</restrictedString>\n" +
            "            <string>string</string>\n" +
            "            <xgType>bar</xgType>\n" +
            "        </xGSConfig>\n" +
            "    </target>\n" +
            "</syncConfig>\n";
    String generatedXml = XmlGenerator.generateXml(false, false, "xgs:", "xgs:", "xgf", "xgf");
    Assert.assertEquals(expectedXml, generatedXml);
}