### Question:
DocbookUtils { public static String docbookListNumbering( final int numbering ) { switch ( numbering ) { case Sink.NUMBERING_UPPER_ALPHA: return SimplifiedDocbookMarkup.UPPERALPHA_STYLE; case Sink.NUMBERING_LOWER_ALPHA: return SimplifiedDocbookMarkup.LOWERALPHA_STYLE; case Sink.NUMBERING_UPPER_ROMAN: return SimplifiedDocbookMarkup.UPPERROMAN_STYLE; case Sink.NUMBERING_LOWER_ROMAN: return SimplifiedDocbookMarkup.LOWERROMAN_STYLE; case Sink.NUMBERING_DECIMAL: return SimplifiedDocbookMarkup.ARABIC_STYLE; default: throw new IllegalArgumentException( "Not a valid numbering: " + numbering ); } } private  DocbookUtils(); static String doxiaTableFrameAttribute( final String frame ); static int doxiaListNumbering( final String style ); static String docbookListNumbering( final int numbering ); static char trademarkFromClass( final String trade );  }### Answer:
@Test public void testDocbookListNumbering() { assertEquals( SimplifiedDocbookMarkup.UPPERALPHA_STYLE, DocbookUtils.docbookListNumbering( Sink.NUMBERING_UPPER_ALPHA ) ); assertEquals( SimplifiedDocbookMarkup.LOWERALPHA_STYLE, DocbookUtils.docbookListNumbering( Sink.NUMBERING_LOWER_ALPHA ) ); assertEquals( SimplifiedDocbookMarkup.UPPERROMAN_STYLE, DocbookUtils.docbookListNumbering( Sink.NUMBERING_UPPER_ROMAN ) ); assertEquals( SimplifiedDocbookMarkup.LOWERROMAN_STYLE, DocbookUtils.docbookListNumbering( Sink.NUMBERING_LOWER_ROMAN ) ); assertEquals( SimplifiedDocbookMarkup.ARABIC_STYLE, DocbookUtils.docbookListNumbering( Sink.NUMBERING_DECIMAL ) ); try { DocbookUtils.docbookListNumbering( -1 ); fail(); } catch ( IllegalArgumentException e ) { assertNotNull( e ); } }