METHOD_0 ( ) { com . google . cloud . tools . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = new com . google . cloud . tools . IDENT_0 . IDENT_1 . METHOD_1 ( ( IDENT_4 ) -> IDENT_5 ) ; java . io . IOException IDENT_6 = new java . io . IOException ( ) ; org . mockito . Mockito . when ( IDENT_7 . METHOD_2 ( ) ) . thenReturn ( new java . io . METHOD_3 ( ) { @ com . google . cloud . tools . IDENT_0 . IDENT_1 . Override public void write ( int b ) throws java . io . IOException { throw IDENT_6 ; } } ) ; org . mockito . Mockito . when ( IDENT_7 . METHOD_4 ( ) ) . thenReturn ( new java . io . InputStream ( ) { @ com . google . cloud . tools . IDENT_0 . IDENT_1 . Override public int read ( ) throws java . io . IOException { throw new java . io . IOException ( ) ; } } ) ; try { IDENT_3 . load ( com . google . cloud . tools . IDENT_0 . IDENT_8 . IDENT_9 . from ( STRING_0 ) ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( java . io . IOException ex ) { "<AssertPlaceHolder>" ; } } from ( java . io . InputStream ) { return new com . google . cloud . tools . IDENT_0 . IDENT_8 . METHOD_5 ( IDENT_10 ) ; }
org . junit . Assert . assertSame ( IDENT_6 , ex )