@Test
public void testDescribedArray() throws IOException
{
TestDecoder d = createDecoder(getBytes("described_array"));
DescribedType a[] = (DescribedType[]) (d.readArray());
for (int i = 0; i < 10; ++i)
{
assertEquals(Symbol.valueOf("int-array"), a[i].getDescriptor());
assertEquals(i, a[i].getDescribed());
}