METHOD_0 ( ) { long IDENT_0 = INT_0 ; long IDENT_1 = 1000 ; java . lang . String IDENT_2 = STRING_0 ; java . lang . String IDENT_3 = STRING_1 ; java . io . File IDENT_4 = org . mockito . Mockito . mock ( java . io . File . class ) ; org . mockito . Mockito . when ( IDENT_4 . length ( ) ) . thenReturn ( IDENT_1 ) ; org . mockito . Mockito . when ( IDENT_4 . METHOD_1 ( ) ) . thenReturn ( IDENT_2 ) ; org . mockito . Mockito . when ( IDENT_4 . getName ( ) ) . thenReturn ( IDENT_3 ) ; org . mockito . Mockito . METHOD_2 ( new com . cloud . exception . METHOD_3 ( STRING_2 ) ) . when ( processor ) . METHOD_4 ( IDENT_2 , IDENT_3 ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_4 , org . mockito . Mockito . times ( 1 ) ) . length ( ) ; } METHOD_5 ( java . io . InputStream ) { byte [ ] bytes = new byte [ com . cloud . utils . storage . IDENT_5 . IDENT_6 ] ; if ( ( IDENT_7 . METHOD_6 ( com . cloud . utils . storage . IDENT_5 . IDENT_8 ) ) != ( com . cloud . utils . storage . IDENT_5 . IDENT_8 ) ) { throw new java . io . IOException ( STRING_3 ) ; } if ( ( IDENT_7 . read ( bytes ) ) != ( com . cloud . utils . storage . IDENT_5 . IDENT_6 ) ) { throw new java . io . IOException ( STRING_4 ) ; } return com . cloud . utils . IDENT_9 . METHOD_7 ( bytes ) ; }
org . junit . Assert . assertEquals ( IDENT_1 , processor . METHOD_5 ( IDENT_4 ) )