### Question:
DocbookUtils { public static int doxiaListNumbering( final String style ) { if ( SimplifiedDocbookMarkup.LOWERALPHA_STYLE.equals( style ) ) { return Sink.NUMBERING_LOWER_ALPHA; } else if ( SimplifiedDocbookMarkup.LOWERROMAN_STYLE.equals( style ) ) { return Sink.NUMBERING_LOWER_ROMAN; } else if ( SimplifiedDocbookMarkup.UPPERALPHA_STYLE.equals( style ) ) { return Sink.NUMBERING_UPPER_ALPHA; } else if ( SimplifiedDocbookMarkup.UPPERROMAN_STYLE.equals( style ) ) { return Sink.NUMBERING_UPPER_ROMAN; } else if ( SimplifiedDocbookMarkup.ARABIC_STYLE.equals( style ) ) { return Sink.NUMBERING_DECIMAL; } else { throw new IllegalArgumentException( "Not a valid numbering style: " + style ); } } 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 testDoxiaListNumbering() { assertEquals( Sink.NUMBERING_LOWER_ALPHA, DocbookUtils.doxiaListNumbering( SimplifiedDocbookMarkup.LOWERALPHA_STYLE ) ); assertEquals( Sink.NUMBERING_LOWER_ROMAN, DocbookUtils.doxiaListNumbering( SimplifiedDocbookMarkup.LOWERROMAN_STYLE ) ); assertEquals( Sink.NUMBERING_UPPER_ALPHA, DocbookUtils.doxiaListNumbering( SimplifiedDocbookMarkup.UPPERALPHA_STYLE ) ); assertEquals( Sink.NUMBERING_UPPER_ROMAN, DocbookUtils.doxiaListNumbering( SimplifiedDocbookMarkup.UPPERROMAN_STYLE ) ); assertEquals( Sink.NUMBERING_DECIMAL, DocbookUtils.doxiaListNumbering( SimplifiedDocbookMarkup.ARABIC_STYLE ) ); try { DocbookUtils.doxiaListNumbering( "" ); fail(); } catch ( IllegalArgumentException e ) { assertNotNull( e ); } }