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