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