METHOD_0 ( ) { org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( ) ; conf . METHOD_1 ( IDENT_0 . IDENT_1 , 3 ) ; final java . util . List < java . lang . String > keys = java . util . Arrays . asList ( STRING_0 ) ; org . apache . hadoop . crypto . key . IDENT_2 . IDENT_3 IDENT_4 = mock ( org . apache . hadoop . crypto . key . IDENT_2 . IDENT_3 . class ) ; when ( IDENT_4 . METHOD_2 ( ) ) . METHOD_3 ( new java . net . METHOD_4 ( STRING_1 ) ) . thenReturn ( keys ) ; org . apache . hadoop . crypto . key . IDENT_2 . IDENT_3 IDENT_5 = mock ( org . apache . hadoop . crypto . key . IDENT_2 . IDENT_3 . class ) ; when ( IDENT_5 . METHOD_2 ( ) ) . METHOD_3 ( new java . net . METHOD_4 ( STRING_2 ) ) ; when ( IDENT_4 . METHOD_5 ( ) ) . thenReturn ( STRING_1 ) ; when ( IDENT_5 . METHOD_5 ( ) ) . thenReturn ( STRING_2 ) ; org . apache . hadoop . crypto . key . IDENT_2 . IDENT_6 IDENT_7 = new org . apache . hadoop . crypto . key . IDENT_2 . METHOD_6 ( new org . apache . hadoop . crypto . key . IDENT_2 . IDENT_3 [ ] { IDENT_4 , IDENT_5 } , 0 , conf ) ; java . util . List < java . lang . String > result = IDENT_7 . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_4 , org . mockito . Mockito . times ( 2 ) ) . METHOD_2 ( ) ; verify ( IDENT_5 , org . mockito . Mockito . times ( 1 ) ) . METHOD_2 ( ) ; } METHOD_2 ( ) { return null ; }
org . junit . Assert . assertEquals ( keys , result )