"<?xml version=\"1.0\"?>\n<!DOCTYPE database SYSTEM \"" + LocalEntityResolver.DTD_PREFIX + "\">\n" +
    public void testSimple() throws Exception    {        Database model = readModel(            "<database name='test'>\n" +            "  <table name='SomeTable'\n" +            "         description='Some table'>\n" +            "    <column name='ID'\n" +            "            type='INTEGER'\n" +            "            primaryKey='true'\n" +            "            required='true'\n" +            "            description='The primary key'\n" +            "            javaName='javaId'/>\n" +            "  </table>\n" +            "</database>");        assertEquals("test",                     model.getName());        assertEquals(1,                     model.getTableCount());                Table table = model.getTable(0);        assertEquals("SomeTable",                     table.getName());        assertEquals("Some table",                     table.getDescription());        assertEquals(0, table.getAutoIncrementColumns().length);        assertEquals(1,                     table.getColumnCount());        assertEquals(0,                     table.getForeignKeyCount());        assertEquals(0,                     table.getIndexCount());        Column column = table.getColumn(0);        assertEquals("ID",                     column.getName());        assertEquals("INTEGER",                     column.getType());        assertEquals(Types.INTEGER,                     column.getTypeCode());        assertTrue(column.isPrimaryKey());        assertTrue(column.isRequired());        assertFalse(column.isAutoIncrement());        assertNull(column.getDefaultValue());        assertEquals("The primary key",                     column.getDescription());        assertEquals("javaId", column.getJavaName());        assertEquals(            "  <database name=\"test\">\n" +            "    <table name=\"SomeTable\" description=\"Some table\">\n" +            "      <column name=\"ID\" primaryKey=\"true\" required=\"true\" type=\"INTEGER\" autoIncrement=\"false\" description=\"The primary key\" javaName=\"javaId\"/>\n" +            "    </table>\n" +            "  </database>\n",            writeModel(model));    }