METHOD_0 ( ) { com . eclipsesource . IDENT_0 . ui . IDENT_1 action = mock ( com . eclipsesource . IDENT_0 . ui . IDENT_1 . class ) ; java . io . InputStream image = com . eclipsesource . IDENT_0 . internal . ui . IDENT_2 . class . getResourceAsStream ( STRING_0 ) ; com . eclipsesource . IDENT_0 . internal . ui . IDENT_3 IDENT_4 = new com . eclipsesource . IDENT_0 . internal . ui . METHOD_1 ( "foo" , action ) ; com . eclipsesource . IDENT_0 . internal . ui . METHOD_1 IDENT_5 = IDENT_4 . METHOD_2 ( com . eclipsesource . IDENT_0 . internal . ui . IDENT_6 . getBytes ( image ) ) ; "<AssertPlaceHolder>" ; } getBytes ( java . io . InputStream ) { byte [ ] result = null ; if ( stream != null ) { try { java . io . ByteArrayOutputStream buffer = new java . io . ByteArrayOutputStream ( ) ; int read ; byte [ ] data = new byte [ INT_0 ] ; while ( ( read = stream . read ( data , 0 , data . length ) ) != ( - 1 ) ) { buffer . write ( data , 0 , read ) ; } buffer . METHOD_3 ( ) ; result = buffer . toByteArray ( ) ; } catch ( java . io . IOException e ) { throw new java . lang . IllegalStateException ( e ) ; } } return result ; }
org . junit . Assert . assertSame ( IDENT_4 , IDENT_5 )