@Test
    public void testAttributes() {
        assertEquals("TestSource", node.getClassName());
        assertEquals("com.objectsociety.jnipp.common.testCases", node.getPackageName());
        assertEquals("com::objectsociety::jnipp::common::testCases", node.getNamespace());

        Iterator it = node.getNamespaceElements();
        assert (it.hasNext() == true && ((String) it.next()).equals("com"));
        assert (it.hasNext() == true && ((String) it.next()).equals("objectsociety"));
        assert (it.hasNext() == true && ((String) it.next()).equals("jnipp"));
        assert (it.hasNext() == true && ((String) it.next()).equals("common"));
        assert (it.hasNext() == true && ((String) it.next()).equals("testCases"));

        it = node.getFields();
        while (it.hasNext() == true) {
            FieldNode current = (FieldNode) it.next();
            switch (current.getName()) {
                case "oneDimOfInts": {
                    ClassNode elType = current.getType().getComponentType();
                    assertEquals("int", elType.getClassName());
                    assertEquals(1, elType.getArrayDims());
                    break;
                }
                case "twoDimOfInts": {
                    ClassNode elType = current.getType().getComponentType();
                    assertEquals("int", elType.getClassName());
                    assertEquals(2, elType.getArrayDims());
                    break;
                }
                case "oneDimOfIntegers": {
                    ClassNode elType = current.getType().getComponentType();
                    assertEquals("java.lang.Integer", elType.getClassName());
                    assertEquals(1, elType.getArrayDims());
                    break;
                }
            }
        }
    }