METHOD_0 ( ) { io . cdap . cdap . IDENT_0 . id . IDENT_1 IDENT_2 = new io . cdap . cdap . IDENT_0 . id . METHOD_1 ( STRING_0 ) ; IDENT_3 . create ( new io . cdap . cdap . IDENT_0 . IDENT_4 . Builder ( ) . setName ( IDENT_2 ) . build ( ) ) ; io . cdap . cdap . IDENT_0 . id . METHOD_1 IDENT_5 = new io . cdap . cdap . IDENT_0 . id . METHOD_1 ( STRING_1 ) ; IDENT_3 . create ( new io . cdap . cdap . IDENT_0 . IDENT_4 . Builder ( ) . setName ( IDENT_5 ) . build ( ) ) ; try { IDENT_6 . METHOD_2 ( IDENT_2 , METHOD_3 ( io . cdap . cdap . client . app . IDENT_7 . class ) ) ; IDENT_6 . METHOD_2 ( IDENT_5 , METHOD_3 ( io . cdap . cdap . client . app . IDENT_7 . class ) ) ; java . util . Map < java . lang . String , java . lang . String > props = com . google . common . collect . ImmutableMap . of ( STRING_2 , STRING_3 ) ; io . cdap . cdap . api . metadata . IDENT_8 meta = new io . cdap . cdap . api . metadata . METHOD_4 ( props , java . util . Collections . METHOD_5 ( ) ) ; io . cdap . cdap . IDENT_0 . id . IDENT_9 IDENT_10 = IDENT_2 . app ( IDENT_7 . IDENT_11 ) ; METHOD_6 ( IDENT_10 , props ) ; io . cdap . cdap . IDENT_0 . id . IDENT_9 IDENT_12 = IDENT_5 . app ( IDENT_7 . IDENT_11 ) ; METHOD_6 ( IDENT_12 , props ) ; io . cdap . cdap . IDENT_0 . metadata . IDENT_13 results = super . METHOD_7 ( com . google . common . collect . ImmutableList . of ( ) , STRING_4 , java . util . Collections . METHOD_5 ( ) , null , 0 , 10 , 0 , null , false ) ; java . util . Map < io . cdap . cdap . api . metadata . IDENT_14 , io . cdap . cdap . api . metadata . METHOD_4 > expected = new java . util . HashMap ( ) ; expected . put ( IDENT_10 . METHOD_8 ( ) , meta ) ; expected . put ( IDENT_12 . METHOD_8 ( ) , meta ) ; java . util . Map < io . cdap . cdap . api . metadata . IDENT_14 , io . cdap . cdap . api . metadata . METHOD_4 > actual = new java . util . HashMap ( ) ; for ( io . cdap . cdap . IDENT_0 . metadata . IDENT_15 record : results . METHOD_9 ( ) ) { actual . put ( record . METHOD_10 ( ) , record . METHOD_11 ( ) . get ( IDENT_16 . IDENT_17 ) ) ; } "<AssertPlaceHolder>" ; } finally { IDENT_3 . delete ( IDENT_2 ) ; IDENT_3 . delete ( IDENT_5 ) ; } } get ( int ) { switch ( index ) { case 0 : return first ; case 1 : return IDENT_18 ; default : return rest [ ( index - 2 ) ] ; } }
org . junit . Assert . assertEquals ( expected , actual )