METHOD_0 ( ) { java . lang . Class < ? > [ ] IDENT_0 = IDENT_1 ; com . github . IDENT_2 . IDENT_3 . validation . IDENT_4 IDENT_5 = new com . github . IDENT_2 . IDENT_3 . validation . METHOD_1 ( com . github . IDENT_2 . IDENT_3 . validation . IDENT_6 . IDENT_7 . IDENT_8 . class ) ; com . github . IDENT_2 . IDENT_3 . builder . IDENT_9 < com . github . IDENT_2 . IDENT_3 . validation . IDENT_6 . IDENT_7 . IDENT_8 > IDENT_10 = IDENT_11 . create ( com . github . IDENT_2 . IDENT_3 . validation . IDENT_6 . IDENT_7 . IDENT_8 . class , IDENT_1 ) ; com . github . IDENT_2 . IDENT_3 . validation . IDENT_12 < com . github . IDENT_2 . IDENT_3 . validation . IDENT_6 . IDENT_7 . IDENT_8 > IDENT_13 = new com . github . IDENT_2 . IDENT_3 . validation . METHOD_2 ( IDENT_14 , IDENT_10 ) ; com . github . IDENT_2 . IDENT_3 . validation . IDENT_6 . IDENT_7 . IDENT_8 record = new com . github . IDENT_2 . IDENT_3 . validation . IDENT_6 . IDENT_7 . METHOD_3 ( ) ; IDENT_15 . validate ( record , IDENT_5 , ( ( com . github . IDENT_2 . IDENT_3 . validation . METHOD_2 ) ( IDENT_13 ) ) ) ; java . util . List < java . lang . String > messages = IDENT_5 . METHOD_4 ( ) . stream ( ) . map ( ( error ) -> error . format ( IDENT_16 , IDENT_17 ) ) . collect ( java . util . stream . IDENT_18 . toList ( ) ) ; "<AssertPlaceHolder>" . METHOD_5 ( 1 ) . contains ( STRING_0 ) ; } format ( com . github . IDENT_2 . IDENT_3 . IDENT_19 . IDENT_20 , com . github . IDENT_2 . IDENT_3 . IDENT_19 . IDENT_21 ) { for ( java . lang . String code : METHOD_6 ( ) ) { java . util . Optional < java . lang . String > message = IDENT_22 . getMessage ( code ) ; if ( message . METHOD_7 ( ) ) { return IDENT_17 . METHOD_8 ( message . get ( ) , METHOD_9 ( ) , true , IDENT_22 ) ; } } return IDENT_17 . METHOD_8 ( METHOD_10 ( ) , METHOD_9 ( ) , true , IDENT_22 ) ; }
org . junit . Assert . assertThat ( messages )