METHOD_0 ( ) { IDENT_0 . amazon . IDENT_1 . IDENT_2 . config . IDENT_3 . IDENT_4 IDENT_5 = IDENT_0 . amazon . IDENT_1 . IDENT_2 . config . IDENT_3 . IDENT_4 . create ( STRING_0 , INT_0 , STRING_1 ) ; IDENT_0 . amazon . IDENT_1 . IDENT_2 . config . IDENT_3 . IDENT_6 expected = IDENT_0 . amazon . IDENT_1 . IDENT_2 . config . IDENT_3 . IDENT_6 . create ( STRING_2 , IDENT_5 ) ; IDENT_0 . amazon . IDENT_1 . IDENT_2 . config . IDENT_7 IDENT_8 = new IDENT_0 . amazon . IDENT_1 . IDENT_2 . config . METHOD_1 ( IDENT_0 . amazon . IDENT_1 . IDENT_2 . config . IDENT_3 . IDENT_6 . class , IDENT_9 ) ; IDENT_10 . setProperty ( IDENT_8 , STRING_3 , expected . IDENT_11 ) ; IDENT_10 . setProperty ( IDENT_8 , STRING_4 , IDENT_5 . getClass ( ) . getName ( ) ) ; IDENT_10 . setProperty ( IDENT_8 , STRING_5 , IDENT_5 . IDENT_12 ) ; IDENT_10 . setProperty ( IDENT_8 , STRING_6 , IDENT_5 . IDENT_13 ) ; IDENT_10 . setProperty ( IDENT_8 , STRING_7 , IDENT_5 . IDENT_14 ) ; IDENT_0 . amazon . IDENT_1 . IDENT_2 . config . IDENT_3 . IDENT_6 actual = IDENT_8 . build ( IDENT_0 . amazon . IDENT_1 . IDENT_2 . config . IDENT_3 . IDENT_6 . class ) ; "<AssertPlaceHolder>" ; } build ( java . util . function . IDENT_15 [ ] ) { java . lang . reflect . Method IDENT_16 ; try { IDENT_16 = IDENT_17 . METHOD_2 ( IDENT_0 . amazon . IDENT_1 . IDENT_2 . config . IDENT_18 . IDENT_19 ) ; } catch ( java . lang . IDENT_20 e ) { throw new java . lang . RuntimeException ( e ) ; } java . lang . Object source ; try { source = IDENT_16 . invoke ( null ) ; } catch ( java . lang . IDENT_21 | java . lang . reflect . IDENT_22 e ) { throw new java . lang . RuntimeException ( e ) ; } for ( Map . Entry < java . lang . String , java . lang . Object > setValue : values . entrySet ( ) ) { java . lang . Object IDENT_23 = METHOD_3 ( setValue ) ; java . lang . reflect . Method IDENT_24 = properties . get ( setValue . getKey ( ) ) . stream ( ) . filter ( ( t ) -> org . apache . commons . lang3 . IDENT_25 . METHOD_4 ( IDENT_23 . getClass ( ) , t . type ) ) . METHOD_5 ( ) . map ( ( a ) -> a . IDENT_16 ) . METHOD_6 ( ( ) -> new java . lang . IllegalStateException ( java . lang . String . format ( STRING_8 , setValue . getKey ( ) , IDENT_23 . getClass ( ) . getName ( ) ) ) ) ; try { source = IDENT_24 . invoke ( source , IDENT_23 ) ; } catch ( java . lang . IDENT_21 | java . lang . reflect . IDENT_22 e ) { throw new java . lang . RuntimeException ( e ) ; } } if ( IDENT_26 != null ) { for ( java . util . function . IDENT_15 < java . lang . Object , java . lang . Object > IDENT_24 : IDENT_26 ) { source = IDENT_24 . apply ( source ) ; } } java . lang . reflect . Method IDENT_27 ; try { IDENT_27 = IDENT_28 . METHOD_2 ( IDENT_0 . amazon . IDENT_1 . IDENT_2 . config . IDENT_18 . IDENT_29 ) ; return IDENT_27 . invoke ( source ) ; } catch ( java . lang . IDENT_21 | java . lang . IDENT_20 | java . lang . reflect . IDENT_22 e ) { throw new java . lang . RuntimeException ( e ) ; } }
org . junit . Assert . assertThat ( actual , org . hamcrest . CoreMatchers . equalTo ( expected ) )