private void commonTest(final String rawValue,
final AlignmentBaseline expectedAlignmentBaseline) throws PropertyException {
final FObj fobj = TestVerticalAlign.makeTestFObj();
final PdVerticalAlign property = createProperty(fobj, rawValue);
fobj.getPropertyList().addProperty(fobj, property);
final FoContext context = TestVerticalAlign.STD_FO_CONTEXT;
final org.axsl.common.value.AlignmentBaseline actualAlignmentBaseline
= fobj.traitAlignmentBaseline(context);
assertEquals(expectedAlignmentBaseline, actualAlignmentBaseline);
/* TODO: Add tests for alignment-adjust, baseline-shift, and
* dominant-baseline. */