assertEquals(new Integer(0), beans.get(0), "avalue2");
assertEquals((Object)null, beans.get(0), "avalue2");
    public void testAddColumns()    {        final String model1Xml =             "<?xml version='1.0' encoding='ISO-8859-1'?>\n"+            "<database name='roundtriptest'>\n"+            "  <table name='roundtrip'>\n"+            "    <column name='pk' type='INTEGER' primaryKey='true' required='true'/>\n"+            "    <column name='avalue3' type='DOUBLE' default='1.0'/>\n"+            "  </table>\n"+            "</database>";        final String model2Xml =             "<?xml version='1.0' encoding='ISO-8859-1'?>\n"+            "<database name='roundtriptest'>\n"+            "  <table name='roundtrip'>\n"+            "    <column name='pk' type='INTEGER' primaryKey='true' required='true'/>\n"+            "    <column name='avalue1' type='VARCHAR' size='32'/>\n"+            "    <column name='avalue2' type='INTEGER' required='true' default='0'/>\n"+            "    <column name='avalue3' type='DOUBLE' default='1.0'/>\n"+            "    <column name='avalue4' type='CHAR' size='16'/>\n"+            "  </table>\n"+            "</database>";        createDatabase(model1Xml);        insertRow("roundtrip", new Object[] { new Integer(1), new Double(3.0) });        alterDatabase(model2Xml);        assertEquals(getAdjustedModel(),                     readModelFromDatabase("roundtriptest"));        List beans = getRows("roundtrip");        assertEquals((Object)null, beans.get(0), "avalue1");        assertEquals(new Integer(0), beans.get(0), "avalue2");        assertEquals((Object)null, beans.get(0), "avalue4");    }