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