METHOD_0 ( ) { java . io . InputStream IDENT_0 = org . mockito . Mockito . mock ( java . io . InputStream . class ) ; java . lang . Exception exception = new java . io . IOException ( STRING_0 ) ; METHOD_1 ( exception ) . when ( IDENT_0 ) . read ( any ( byte [ ] . class ) , any ( int . class ) , any ( int . class ) ) ; METHOD_1 ( exception ) . when ( IDENT_0 ) . read ( any ( byte [ ] . class ) ) ; METHOD_1 ( exception ) . when ( IDENT_0 ) . read ( ) ; try { java . lang . IDENT_1 < org . sagebionetworks . repo . model . IDENT_2 . IDENT_3 < ? , ? > > IDENT_4 = IDENT_5 . METHOD_2 ( IDENT_0 , IDENT_6 ) ; IDENT_4 . iterator ( ) . hasNext ( ) ; org . junit . Assert . fail ( ) ; } catch ( java . lang . RuntimeException e ) { "<AssertPlaceHolder>" ; } } getMessage ( ) { return message ; }
org . junit . Assert . assertTrue ( e . getMessage ( ) . contains ( exception . getMessage ( ) ) )