Assert.assertEquals("Returned attribute array of different length", legalValues.length, values.length);
Assert.assertEquals("Returned attribute array of different length", values.length, legalValues.length);
    public void testGetAttributes() {                String[] values = attribute.getValues();        Assert.assertEquals("Returned attribute array of different length", legalValues.length, values.length);        for (int i=0; i<values.length; i++)            Assert.assertEquals("Value "+i+" differs", values[i], legalValues[i]);                            }