METHOD_0 ( ) { org . apache . hadoop . conf . Configuration conf = org . apache . hadoop . hdfs . server . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 ( ) ; conf . METHOD_2 ( IDENT_3 . IDENT_4 , 1 ) ; conf . METHOD_2 ( IDENT_3 . IDENT_5 , 1 ) ; org . apache . hadoop . hdfs . IDENT_6 cluster = null ; try { cluster = org . apache . hadoop . hdfs . server . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_3 ( conf , 3 ) ; cluster . METHOD_4 ( 0 ) ; org . apache . hadoop . hdfs . server . IDENT_0 . IDENT_1 . IDENT_7 IDENT_8 = org . mockito . Mockito . METHOD_5 ( cluster . METHOD_6 ( 1 ) . METHOD_7 ( ) ) ; final java . util . concurrent . atomic . IDENT_9 IDENT_10 = new java . util . concurrent . atomic . METHOD_8 ( 0 ) ; when ( IDENT_8 . METHOD_9 ( ) ) . thenReturn ( IDENT_8 . new IDENT_11 < java . lang . IDENT_12 > ( ) { @ java . lang . Override MOD_0 java . lang . IDENT_12 METHOD_10 ( ) throws java . io . IOException { IDENT_10 . METHOD_11 ( ) ; throw new java . io . IOException ( STRING_0 ) ; } } ) ; IDENT_8 . METHOD_12 ( ) ; "<AssertPlaceHolder>" ; } finally { if ( cluster != null ) { cluster . METHOD_13 ( ) ; } } } get ( ) { return org . hadoop . IDENT_13 . IDENT_14 . IDENT_15 . IDENT_16 . IDENT_17 . db ; }
org . junit . Assert . assertEquals ( 6 , IDENT_10 . get ( ) )