METHOD_0 ( ) { byte [ ] IDENT_0 = null ; org . apache . olingo . odata2 . ref . model . IDENT_1 IDENT_2 = new org . apache . olingo . odata2 . ref . model . METHOD_1 ( 1 , org . apache . olingo . odata2 . ref . model . IDENT_3 . IDENT_4 ) ; IDENT_2 . METHOD_2 ( org . apache . olingo . odata2 . ref . model . IDENT_3 . IDENT_5 ) ; try { java . io . InputStream in = org . apache . olingo . odata2 . ref . model . METHOD_1 . class . getResourceAsStream ( org . apache . olingo . odata2 . ref . model . IDENT_3 . IDENT_5 ) ; java . io . ByteArrayOutputStream IDENT_6 = new java . io . ByteArrayOutputStream ( ) ; int c = 0 ; while ( ( c = in . read ( ) ) != ( - 1 ) ) { IDENT_6 . write ( ( ( char ) ( c ) ) ) ; } IDENT_0 = IDENT_6 . toByteArray ( ) ; } catch ( java . io . IOException e ) { throw new java . lang . RuntimeException ( e ) ; } "<AssertPlaceHolder>" ; } METHOD_3 ( ) { if ( ( image ) == null ) { return null ; } return image . METHOD_4 ( ) ; }
org . junit . Assert . assertArrayEquals ( IDENT_0 , IDENT_2 . METHOD_3 ( ) )