assertEquals("Zero", ((CPUTF8)layout.getValue(0, segment.getConstantPool())).underlyingString());
assertEquals("One", ((CPUTF8)layout.getValue(1, segment.getConstantPool())).underlyingString());
}
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", ((CPUTF8)layout.getValue(1, segment.getConstantPool())).underlyingString());
assertEquals("One", ((CPUTF8)layout.getValue(2, segment.getConstantPool())).underlyingString());
}