METHOD_0 ( ) { io . IDENT_0 . metadata . IDENT_1 . METHOD_1 ( conf ) ; io . IDENT_0 . metadata . IDENT_1 . METHOD_2 ( ) ; org . apache . hadoop . hdfs . server . IDENT_2 . IDENT_3 IDENT_4 = org . mockito . Mockito . mock ( org . apache . hadoop . hdfs . server . IDENT_2 . IDENT_3 . class ) ; org . apache . hadoop . hdfs . server . IDENT_2 . IDENT_5 IDENT_6 = org . mockito . Mockito . mock ( org . apache . hadoop . hdfs . server . IDENT_2 . IDENT_5 . class ) ; org . mockito . Mockito . when ( IDENT_6 . METHOD_3 ( ) ) . thenReturn ( true ) ; org . apache . hadoop . hdfs . server . IDENT_2 . IDENT_7 IDENT_2 = org . mockito . Mockito . mock ( org . apache . hadoop . hdfs . server . IDENT_2 . IDENT_7 . class ) ; org . mockito . Mockito . when ( IDENT_6 . METHOD_4 ( ) ) . thenReturn ( IDENT_2 ) ; org . mockito . Mockito . when ( IDENT_2 . getId ( ) ) . thenReturn ( 0L ) ; io . IDENT_0 . IDENT_8 . node . IDENT_9 IDENT_10 = org . mockito . Mockito . mock ( io . IDENT_0 . IDENT_8 . node . IDENT_9 . class ) ; org . mockito . Mockito . when ( IDENT_2 . METHOD_5 ( ) ) . thenReturn ( IDENT_10 ) ; org . mockito . Mockito . when ( IDENT_10 . METHOD_6 ( ) ) . thenReturn ( new java . util . ArrayList < io . IDENT_0 . IDENT_8 . node . IDENT_11 > ( ) ) ; org . mockito . Mockito . when ( IDENT_6 . METHOD_7 ( ) ) . thenReturn ( IDENT_4 ) ; org . apache . hadoop . hdfs . server . IDENT_2 . IDENT_12 IDENT_13 = new org . apache . hadoop . hdfs . server . IDENT_2 . METHOD_8 ( IDENT_6 ) ; IDENT_13 . METHOD_9 ( 0 , 0 ) ; METHOD_10 ( IDENT_13 , STRING_0 , STRING_1 ) ; METHOD_10 ( IDENT_13 , STRING_2 , STRING_3 ) ; METHOD_10 ( IDENT_13 , STRING_4 , STRING_5 ) ; "<AssertPlaceHolder>" ; IDENT_13 . METHOD_11 ( ) ; } METHOD_12 ( ) { io . IDENT_0 . transaction . handler . IDENT_14 IDENT_15 = new io . IDENT_0 . transaction . handler . METHOD_13 ( io . IDENT_0 . transaction . handler . IDENT_16 . IDENT_17 ) { @ org . apache . hadoop . hdfs . server . IDENT_2 . Override public void METHOD_14 ( io . IDENT_0 . transaction . IDENT_18 . IDENT_19 IDENT_20 ) throws java . io . IOException { } @ org . apache . hadoop . hdfs . server . IDENT_2 . Override public java . lang . Object METHOD_15 ( ) throws io . IDENT_0 . exception . IDENT_21 , java . io . IOException { io . IDENT_0 . metadata . hdfs . dal . IDENT_22 < org . apache . hadoop . hdfs . server . IDENT_2 . IDENT_23 > IDENT_24 = ( ( io . IDENT_0 . metadata . hdfs . dal . IDENT_22 ) ( io . IDENT_0 . metadata . IDENT_1 . METHOD_16 ( io . IDENT_0 . metadata . hdfs . dal . IDENT_22 . class ) ) ) ; return IDENT_24 . METHOD_17 ( ) ; } } ; return ( ( int ) ( IDENT_15 . METHOD_18 ( IDENT_25 ) ) ) ; }
org . junit . Assert . assertEquals ( IDENT_13 . METHOD_12 ( ) , 3 )