private void testSubschemSubentryRendererAndParserRoundtrip( DitStructureRule original ) throws ParseException
{
String renderedOriginal = SchemaObjectRenderer.SUBSCHEMA_SUBENTRY_RENDERER.render( original );
DitStructureRule parsed = new DitStructureRuleDescriptionSchemaParser().parse( renderedOriginal );
String renderedParsed = SchemaObjectRenderer.SUBSCHEMA_SUBENTRY_RENDERER.render( parsed );
assertTrue( original.equals( parsed ) );
assertTrue( renderedOriginal.equals( renderedParsed ) );
}