assertEquals("Zwei",layout.getValue(1, segment.getConstantPool()));
}
public void testLayoutRSN() throws Pack200Exception {
AttributeLayout layout = new AttributeLayout("RSN",AttributeLayout.CONTEXT_CLASS,"RSN", 1);
Segment segment = new TestSegment();
assertNull(layout.getValue(0, segment.getConstantPool()));
assertEquals("Eins",layout.getValue(1, segment.getConstantPool()));
assertEquals("Zwei",layout.getValue(2, segment.getConstantPool()));
}