if (actualNames[i].equals(expectedNames[i]))
if (!actualNames[i].equals(expectedNames[i]))
    public static void assertEquals(IDataSet expectedDataSet,            IDataSet actualDataSet) throws Exception    {        // do not continue if same instance        if (expectedDataSet == actualDataSet)        {            return;        }        String[] expectedNames = expectedDataSet.getTableNames();        String[] actualNames = actualDataSet.getTableNames();        // tables count        Assert.assertEquals("table count", expectedNames.length, actualNames.length);        // table names in no specific order        Arrays.sort(expectedNames);        Arrays.sort(actualNames);        for (int i = 0; i < expectedNames.length; i++)        {            if (actualNames[i].equals(expectedNames[i]))            {                Assert.fail("expected tables " + Arrays.asList(expectedNames) +                        " but was " + Arrays.asList(actualNames));            }        }        // tables        for (int i = 0; i < expectedNames.length; i++)        {            String name = expectedNames[i];            assertEquals(expectedDataSet.getTable(name),                    actualDataSet.getTable(name));        }    }