String tableName = "PK_TABLE"; String[] columnNames = {"PK0", "PK1", "PK2", "NORMAL0", "NORMAL1"}; int updatedRow = 1; int insertedRow = 3;
String[] tableNames = {"PK_TABLE", "ONLY_PK_TABLE"}; int[] tableRowCount = {3, 1}; String primaryKey = "PK0";
    public void testExecute() throws Exception    {        String tableName = "PK_TABLE";        String[] columnNames = {"PK0", "PK1", "PK2", "NORMAL0", "NORMAL1"};        int updatedRow = 1;        int insertedRow = 3;        IDataSet xmlDataSet = new FlatXmlDataSet(                new FileInputStream("src/xml/refreshOperationTest.xml"));        // verify table before        ITable tableBefore = createOrderedTable(tableName, columnNames[0]);        assertEquals("row count before", 3, tableBefore.getRowCount());        DatabaseOperation.REFRESH.execute(_connection, xmlDataSet);        // verify table after        IDataSet expectedDataSet = new FlatXmlDataSet(                new FileInputStream("src/xml/refreshOperationTestExpected.xml"));        ITable expectedTable = expectedDataSet.getTable("PK_TABLE");        ITable tableAfter = createOrderedTable(tableName, columnNames[0]);        DataSetUtils.assertEquals(expectedTable, tableAfter);    }