METHOD_0 ( ) { org . apache . hadoop . hdfs . util . IDENT_0 s = new org . apache . hadoop . hdfs . util . METHOD_1 ( org . apache . hadoop . hdfs . util . IDENT_1 . METHOD_2 ( STRING_0 ) , 5 ) ; "<AssertPlaceHolder>" ; try { s . METHOD_3 ( 1 ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( java . io . IDENT_2 e ) { } } METHOD_3 ( long ) { METHOD_4 ( ) ; if ( n > 0 ) { if ( ( n + ( pos ) ) > ( length ) ) { n = ( length ) - ( pos ) ; } pos += n ; return n ; } return n < 0 ? - 1 : 0 ; }
org . junit . Assert . assertEquals ( 2 , s . METHOD_3 ( 3 ) )