assertEquals("Zero",layout.getValue(0, segment.getConstantPool()));
assertEquals("One",layout.getValue(1, segment.getConstantPool()));
}
public void testLayoutRUN() throws Pack200Exception {
AttributeLayout layout = new AttributeLayout("RUN",AttributeLayout.CONTEXT_CLASS,"RUN", 1);
Segment segment = new TestSegment();
assertNull(layout.getValue(0, segment.getConstantPool()));
assertEquals("Zero",layout.getValue(1, segment.getConstantPool()));
assertEquals("One",layout.getValue(2, segment.getConstantPool()));
}