public void testGetMC2IsabAttributes() {
        MC2IsabAttribute[] array = new MC2IsabAttribute[] {
                new MC2IsabAttribute("a", "2"),
                new MC2IsabAttribute("b", "2"),
                new MC2IsabAttribute("c", "2"),
                new MC2IsabAttribute("d", "2")
        };
        
        for (int i = 0; i < array.length; i++) {
            m_storage.setMC2AuthAttribute(array[i]);
        }
        
        Enumeration e = m_storage.getMC2IsabAttributes();
        assertTrue(e.hasMoreElements());
        while (e.hasMoreElements()) {
            MC2IsabAttribute a = (MC2IsabAttribute) e.nextElement();
            final int index = assertAttribIsInArray(a, array);
            array[index] = null;
        }
        
        // make sure all are accounted for
        for (int i = 0; i < array.length; i++) {
            if(array[i] != null) {
                fail("Some attributes are not returned");
            }
        }
        // and make sure nothing was removed in the process
        e = m_storage.getMC2IsabAttributes();
        int i = 0;
        while (e.hasMoreElements()) {
            e.nextElement();
            i++;
        }
        assertEquals(i, array.length);
    }