DefaultAnimatableElevation extends AnimatableBase implements AnimatableElevation { @Override public VerticalExaggerationElevationModel getRootElevationModel() { return rootElevationModel; } @SuppressWarnings("unused") private  DefaultAnimatableElevation();  DefaultAnimatableElevation(Animation animation);  DefaultAnimatableElevation(String name, Animation animation);  DefaultAnimatableElevation(Animation animation, List<ElevationModel> elevationModels,
			List<ElevationExaggeration> exaggerators); @Override Collection<Parameter> getParameters(); @Override VerticalExaggerationElevationModel getRootElevationModel(); @Override List<ElevationModelIdentifier> getElevationModelIdentifiers(); @Override boolean hasElevationModel(ElevationModelIdentifier modelIdentifier); @Override void addElevationModel(ElevationModelIdentifier modelIdentifier); @Override void removeElevationModel(ElevationModelIdentifier modelIdentifier); @Override void addElevationExaggerator(ElevationExaggeration exaggerator); @Override void removeElevationExaggerator(ElevationExaggeration exaggerator);  }
@Test public void testFromXml() throws Exception { AVList context = new AVListImpl(); context.setValue(AnimationFileVersion.VERSION020.getConstants().getAnimationKey(), animation); AnimationFileVersion versionId = AnimationFileVersion.VERSION020; Document document = WWXML.openDocument(getClass().getResourceAsStream("animatableElevationXmlSnippet.xml")); Element elevationElement = WWXML.getElement(document.getDocumentElement(), " DefaultAnimatableElevation result = (DefaultAnimatableElevation)classToBeTested.fromXml(elevationElement, versionId, context); assertNotNull(result); assertNotNull(result.getRootElevationModel()); assertElevationModelCorrect(result); assertElevationExaggeratorsCorrect(result); assertElevationParametersCorrect(result); assertKeyFramesCorrect(result); }