### Question:
AssetBoundedSchemaType extends AssetSchemaType { public int getMaximumElements() { return boundedSchemaTypeBean.getMaximumElements(); } protected  AssetBoundedSchemaType(AssetDescriptor parentAsset);  AssetBoundedSchemaType(BoundedSchemaType boundedSchemaType);  AssetBoundedSchemaType(AssetDescriptor   parentAsset,
                                  BoundedSchemaType boundedSchemaType);  AssetBoundedSchemaType(AssetDescriptor parentAsset, AssetBoundedSchemaType template); BoundedSchemaCategory getBoundedSchemaCategory(); AssetSchemaType getBoundedSchemaElementType(); int getMaximumElements(); @Override String toString(); @Override boolean equals(Object objectToCompare);  }### Answer:
@SuppressWarnings(value = "deprecation") @Test public void testMaximumElements() { BoundedSchemaType arrayBean = new BoundedSchemaType(); arrayBean.setBoundedSchemaCategory(BoundedSchemaCategory.ARRAY); arrayBean.setMaximumElements(25); AssetBoundedSchemaType testObject = new AssetBoundedSchemaType(arrayBean); assertTrue(testObject.getMaximumElements() == 25); BoundedSchemaType setBean = new BoundedSchemaType(); setBean.setBoundedSchemaCategory(BoundedSchemaCategory.SET); setBean.setMaximumElements(27); testObject = new AssetBoundedSchemaType(setBean); assertTrue(testObject.getMaximumElements() == 27); }