METHOD_0 ( ) { expect ( IDENT_0 . METHOD_1 ( ) ) . andReturn ( IDENT_1 ) . times ( 3 ) ; expect ( IDENT_0 . METHOD_2 ( ) ) . andReturn ( false ) . times ( 2 ) ; expect ( IDENT_1 . getId ( ) ) . andReturn ( de . IDENT_2 . IDENT_3 . hdfs . IDENT_4 . IDENT_5 ) . times ( 2 ) ; expect ( IDENT_0 . METHOD_3 ( ) ) . andReturn ( IDENT_6 ) . times ( 2 ) ; expect ( IDENT_6 . exists ( METHOD_4 ( org . apache . hadoop . fs . Path . class ) ) ) . andReturn ( true ) ; expect ( IDENT_6 . create ( METHOD_4 ( org . apache . hadoop . fs . Path . class ) , METHOD_5 ( ) ) ) . andReturn ( new org . apache . hadoop . fs . METHOD_6 ( new org . apache . commons . io . output . ByteArrayOutputStream ( 8 ) ) ) ; replay ( IDENT_0 , IDENT_6 , IDENT_1 ) ; de . IDENT_2 . IDENT_3 . hdfs . IDENT_7 b = new de . IDENT_2 . IDENT_3 . hdfs . METHOD_7 ( de . IDENT_2 . IDENT_3 . hdfs . IDENT_4 . IDENT_8 , IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( long , boolean ) { if ( this . conn . METHOD_2 ( ) ) { throw new java . lang . IllegalStateException ( STRING_0 ) ; } if ( this . exists ( ) ) { if ( IDENT_9 ) { return this . conn . METHOD_3 ( ) . create ( path , true ) ; } else { throw new org . IDENT_10 . METHOD_9 ( uri ) ; } } return this . conn . METHOD_3 ( ) . create ( path ) ; }
org . junit . Assert . assertNotNull ( b . METHOD_8 ( 0 , true ) )