METHOD_0 ( ) { org . apache . hadoop . hive . IDENT_0 . api . IDENT_1 IDENT_2 = new org . apache . hadoop . hive . IDENT_0 . api . METHOD_1 ( STRING_0 , STRING_1 , null ) ; org . apache . hadoop . hive . IDENT_0 . api . METHOD_1 IDENT_3 = new org . apache . hadoop . hive . IDENT_0 . api . METHOD_1 ( STRING_2 , STRING_1 , null ) ; when ( IDENT_4 . METHOD_2 ( STRING_3 , STRING_4 , null ) ) . thenReturn ( java . util . Collections . singletonList ( IDENT_3 ) ) ; when ( IDENT_5 . METHOD_3 ( ) ) . thenReturn ( IDENT_6 ) ; when ( IDENT_6 . METHOD_2 ( STRING_3 , STRING_4 , null ) ) . thenReturn ( java . util . Collections . singletonList ( IDENT_2 ) ) ; when ( IDENT_5 . METHOD_4 ( STRING_0 ) ) . thenReturn ( STRING_5 ) ; com . IDENT_7 . IDENT_8 . IDENT_9 . mapping . service . IDENT_10 handler = service . METHOD_5 ( ) ; java . util . List < org . apache . hadoop . hive . IDENT_0 . api . METHOD_1 > expected = java . util . Arrays . asList ( IDENT_3 , IDENT_2 ) ; java . util . List < org . apache . hadoop . hive . IDENT_0 . api . METHOD_1 > result = handler . METHOD_6 ( STRING_3 , STRING_4 , null ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( java . lang . String , java . lang . String , java . util . List ) { java . util . function . IDENT_11 < org . apache . hadoop . hive . IDENT_0 . api . METHOD_1 , com . IDENT_7 . IDENT_8 . IDENT_9 . mapping . model . IDENT_12 , java . lang . Boolean > filter = ( IDENT_13 , mapping ) -> { boolean IDENT_14 = mapping . equals ( IDENT_15 ) ; boolean IDENT_16 = IDENT_17 . METHOD_7 ( ) . contains ( IDENT_13 . METHOD_8 ( ) ) ; return IDENT_14 || IDENT_16 ; } ; java . util . Map < com . IDENT_7 . IDENT_8 . IDENT_9 . mapping . model . IDENT_12 , java . lang . String > IDENT_18 = new java . util . METHOD_9 ( ) ; for ( com . IDENT_7 . IDENT_8 . IDENT_9 . mapping . model . IDENT_12 mapping : METHOD_10 ( ) ) { IDENT_18 . put ( mapping , IDENT_19 ) ; } return super . METHOD_6 ( IDENT_20 , IDENT_21 , IDENT_18 , filter ) ; }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . is ( expected ) )