METHOD_0 ( ) { java . util . Map < java . lang . String , java . lang . Object > json = new java . util . HashMap < java . lang . String , java . lang . Object > ( ) ; json . put ( IDENT_0 . IDENT_1 , org . apache . hadoop . util . IllegalStateException . class . METHOD_1 ( ) ) ; json . put ( IDENT_0 . IDENT_2 , org . apache . hadoop . util . IllegalStateException . class . getName ( ) ) ; json . put ( IDENT_0 . IDENT_3 , STRING_0 ) ; java . util . Map < java . lang . String , java . lang . Object > response = new java . util . HashMap < java . lang . String , java . lang . Object > ( ) ; response . put ( IDENT_0 . IDENT_4 , json ) ; org . IDENT_5 . jackson . map . IDENT_6 IDENT_7 = new org . IDENT_5 . jackson . map . METHOD_2 ( ) ; java . lang . String msg = IDENT_7 . METHOD_3 ( response ) ; java . io . InputStream is = new java . io . ByteArrayInputStream ( msg . getBytes ( ) ) ; java . net . IDENT_8 conn = org . mockito . Mockito . mock ( java . net . IDENT_8 . class ) ; org . mockito . Mockito . when ( conn . METHOD_4 ( ) ) . thenReturn ( is ) ; org . mockito . Mockito . when ( conn . METHOD_5 ( ) ) . thenReturn ( STRING_1 ) ; org . mockito . Mockito . when ( conn . METHOD_6 ( ) ) . thenReturn ( IDENT_8 . IDENT_9 ) ; try { org . apache . hadoop . util . IDENT_0 . METHOD_7 ( conn , IDENT_8 . IDENT_10 ) ; org . junit . Assert . fail ( ) ; } catch ( java . lang . IllegalStateException ex ) { "<AssertPlaceHolder>" ; } } getMessage ( ) { java . lang . String msg = super . getMessage ( ) ; if ( msg == null ) { return ( ( ( ( STRING_2 + ( ( IDENT_11 ) == null ? "" : STRING_3 + ( IDENT_11 ) ) ) + STRING_4 ) + ( IDENT_12 ) ) + STRING_5 ) + ( count ) ; } else { return msg ; } }
org . junit . Assert . assertEquals ( STRING_0 , ex . getMessage ( ) )