METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; org . easymock . EasyMock . expect ( IDENT_1 . METHOD_1 ( org . easymock . EasyMock . METHOD_2 ( ) , org . easymock . EasyMock . METHOD_2 ( ) ) ) . METHOD_3 ( new java . io . IOException ( IDENT_0 ) ) . times ( 2 ) ; org . easymock . EasyMock . replay ( IDENT_1 ) ; try ( com . facebook . buck . IDENT_2 . IDENT_3 service = METHOD_4 ( 1 ) ) { try { service . METHOD_1 ( null , null ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( com . facebook . buck . IDENT_2 . IDENT_3 exception ) { "<AssertPlaceHolder>" ; } } org . easymock . EasyMock . verify ( IDENT_1 ) ; } getMessage ( ) { java . lang . StringBuilder builder = new java . lang . StringBuilder ( ) ; builder . append ( context ) ; java . lang . String IDENT_4 = super . getMessage ( ) ; if ( ( IDENT_4 != null ) && ( ! ( IDENT_4 . isEmpty ( ) ) ) ) { builder . append ( STRING_2 ) ; builder . append ( IDENT_4 ) ; } return builder . toString ( ) ; }
org . junit . Assert . assertTrue ( exception . getMessage ( ) . contains ( IDENT_0 ) )