METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( com . google . common . collect . ImmutableList . < org . apache . hadoop . hive . IDENT_1 . IDENT_2 . IDENT_3 > of ( IDENT_4 . IDENT_5 , IDENT_4 . IDENT_6 ) ) ; when ( IDENT_7 . METHOD_2 ( ) ) . thenReturn ( new org . apache . hadoop . io . METHOD_3 ( 0 ) ) ; when ( IDENT_8 . get ( ) ) . thenReturn ( value ) ; when ( IDENT_0 . METHOD_4 ( value ) ) . thenReturn ( ( ( byte ) ( 0 ) ) ) ; when ( IDENT_0 . METHOD_5 ( value ) ) . thenReturn ( "foo" ) ; IDENT_9 . METHOD_6 ( new org . apache . hadoop . hive . IDENT_1 . IDENT_2 . IDENT_3 [ ] { IDENT_0 , IDENT_7 } ) ; java . lang . Object result = IDENT_9 . evaluate ( new org . apache . hadoop . hive . IDENT_10 . IDENT_11 . IDENT_12 . IDENT_13 . IDENT_14 [ ] { IDENT_8 } ) ; "<AssertPlaceHolder>" ; } evaluate ( org . apache . hadoop . hive . IDENT_1 . io . IDENT_15 ) { if ( ( ( i == null ) || ( ! ( i . METHOD_7 ( ) ) ) ) || ( ! ( i . METHOD_7 ( ) ) ) ) { return null ; } else { IDENT_16 . set ( i . METHOD_8 ( ) ) ; return IDENT_16 ; } }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . is ( ( ( java . lang . Object ) ( "foo" ) ) ) )