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