METHOD_0 ( ) { java . io . IDENT_0 IDENT_1 = org . mockito . Mockito . mock ( java . io . IDENT_0 . class ) ; org . apache . hadoop . IDENT_2 . IDENT_3 IDENT_4 = new org . apache . hadoop . IDENT_2 . METHOD_1 ( IDENT_1 ) ; org . mockito . Mockito . METHOD_2 ( new java . io . IOException ( STRING_0 ) ) . when ( IDENT_1 ) . METHOD_3 ( ) ; try { IDENT_4 . close ( ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( java . io . IOException IDENT_5 ) { "<AssertPlaceHolder>" ; } org . mockito . Mockito . verify ( IDENT_1 ) . close ( ) ; } getMessage ( ) { return message ; }
org . junit . Assert . assertEquals ( STRING_0 , IDENT_5 . getMessage ( ) )