METHOD_0 ( ) { java . util . List < io . cdap . cdap . IDENT_0 . api . IDENT_1 . field . IDENT_2 > IDENT_3 = new java . util . ArrayList ( ) ; IDENT_3 . add ( new io . cdap . cdap . IDENT_0 . api . IDENT_1 . field . METHOD_1 ( STRING_0 , STRING_1 , java . util . Collections . singletonList ( STRING_2 ) , "name" ) ) ; IDENT_3 . add ( new io . cdap . cdap . IDENT_0 . api . IDENT_1 . field . METHOD_1 ( STRING_3 , STRING_1 , java . util . Collections . singletonList ( STRING_2 ) , "name" ) ) ; IDENT_3 . add ( new io . cdap . cdap . IDENT_0 . api . IDENT_1 . field . METHOD_1 ( STRING_4 , STRING_1 , java . util . Collections . singletonList ( STRING_2 ) , "name" ) ) ; IDENT_3 . add ( new io . cdap . cdap . IDENT_0 . api . IDENT_1 . field . METHOD_1 ( STRING_5 , STRING_1 , java . util . Arrays . asList ( STRING_2 , "name" ) , java . util . Arrays . asList ( "name" , STRING_6 , STRING_7 ) ) ) ; io . cdap . cdap . IDENT_4 . IDENT_5 . Builder builder = new io . cdap . cdap . IDENT_4 . IDENT_5 . Builder ( IDENT_3 ) ; builder . METHOD_2 ( java . util . Arrays . asList ( STRING_8 , STRING_2 ) ) ; builder . METHOD_3 ( java . util . Arrays . asList ( "name" , STRING_6 , STRING_7 ) ) ; io . cdap . cdap . IDENT_4 . IDENT_5 IDENT_6 = builder . build ( ) ; IDENT_6 . validate ( ) ; io . cdap . cdap . IDENT_4 . IDENT_7 expected = new io . cdap . cdap . IDENT_4 . METHOD_4 ( java . util . Collections . METHOD_5 ( ) , com . google . common . collect . ImmutableMap . of ( "name" , java . util . Arrays . asList ( STRING_0 , STRING_3 ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { if ( ( IDENT_8 . isEmpty ( ) ) && ( IDENT_9 . isEmpty ( ) ) ) { return null ; } return new io . cdap . cdap . IDENT_4 . METHOD_4 ( IDENT_8 , IDENT_9 ) ; }
org . junit . Assert . assertEquals ( expected , IDENT_6 . METHOD_6 ( ) )