ExtendedAtomGenerator extends BasicAtomGenerator { @Override public List<IGeneratorParameter<?>> getParameters() { List<IGeneratorParameter<?>> parameters = new ArrayList<IGeneratorParameter<?>>(); parameters.add(showImplicitHydrogens); parameters.add(showAtomTypeNames); parameters.addAll(super.getParameters()); return parameters; }  @Override IRenderingElement generate(IAtomContainer container, IAtom atom, RendererModel model); @Override List<IGeneratorParameter<?>> getParameters();  }
@Test @Override public void getParametersTest() { List<IGeneratorParameter<?>> parameters = generator.getParameters(); containsParameterType(parameters, AtomColor.class); containsParameterType(parameters, AtomColorer.class); containsParameterType(parameters, AtomRadius.class); containsParameterType(parameters, ColorByType.class); containsParameterType(parameters, CompactShape.class); containsParameterType(parameters, CompactAtom.class); containsParameterType(parameters, KekuleStructure.class); containsParameterType(parameters, ShowEndCarbons.class); containsParameterType(parameters, ShowExplicitHydrogens.class); }