METHOD_0 ( ) { long offset = INT_0 ; alluxio . client . block . stream . IDENT_0 IDENT_1 = IDENT_2 . get ( 0 ) ; alluxio . client . block . stream . IDENT_0 IDENT_3 = mock ( alluxio . client . block . stream . IDENT_0 . class ) ; when ( IDENT_4 . METHOD_1 ( eq ( 0L ) , any ( alluxio . client . file . options . IDENT_5 . class ) , any ( ) ) ) . thenReturn ( IDENT_3 ) . thenReturn ( IDENT_1 ) ; when ( IDENT_3 . read ( ) ) . METHOD_2 ( new alluxio . exception . status . METHOD_3 ( STRING_0 ) ) ; when ( IDENT_3 . METHOD_4 ( ) ) . thenReturn ( offset ) ; IDENT_6 . METHOD_5 ( offset ) ; int b = IDENT_6 . read ( ) ; doReturn ( 0 ) . when ( IDENT_3 ) . read ( ) ; verify ( IDENT_3 , times ( 1 ) ) . read ( ) ; "<AssertPlaceHolder>" ; } read ( ) { return java . util . Optional . METHOD_6 ( IDENT_7 . IDENT_8 . METHOD_7 ( IDENT_9 ) ) ; }
org . junit . Assert . assertEquals ( offset , b )