METHOD_0 ( ) { "<AssertPlaceHolder>" ; } isEmpty ( java . io . InputStream ) { if ( is == null ) { return true ; } if ( ( is . METHOD_1 ( ) ) > 0 ) { return false ; } final byte [ ] bytes = new byte [ 1 ] ; if ( is . METHOD_2 ( ) ) { is . METHOD_3 ( 1 ) ; try { return org . apache . cxf . helpers . IDENT_0 . METHOD_4 ( is . read ( bytes ) ) ; } finally { is . METHOD_5 ( ) ; } } if ( ! ( is instanceof java . io . IDENT_1 ) ) { return false ; } java . io . IDENT_1 IDENT_2 = ( ( java . io . IDENT_1 ) ( is ) ) ; boolean isEmpty = org . apache . cxf . helpers . IDENT_0 . METHOD_4 ( IDENT_2 . read ( bytes ) ) ; if ( ! isEmpty ) { IDENT_2 . METHOD_6 ( bytes ) ; } return isEmpty ; }
org . junit . Assert . assertTrue ( org . apache . cxf . helpers . IDENT_0 . isEmpty ( new java . io . ByteArrayInputStream ( new byte [ ] { } ) ) )