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