private static final String BETA = "BETA";
private static final String GAMMA = "GAMMA";
public void testOptionInheritance() throws Exception {
Options optionsAlpha = new Options();
optionsAlpha.addOption(OPTION_NAME_TWO, ALPHA);
optionsAlpha.addOption(OPTION_NAME_THREE, ALPHA);
optionsAlpha.addOption(OPTION_NAME_FOUR, ALPHA);
Options optionsBeta = new Options();
optionsBeta.addOption(OPTION_NAME_TWO, BETA);
optionsBeta.addOption(OPTION_NAME_THREE, BETA);
Options optionsGamma = new Options();
optionsGamma.addOption(OPTION_NAME_TWO, GAMMA);
Context context = new Context();
context.pushOptions(optionsAlpha);
context.pushOptions(optionsBeta);
context.pushOptions(optionsGamma);