METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . common . message . IDENT_2 IDENT_3 = org . IDENT_0 . IDENT_1 . common . message . IDENT_2 . METHOD_1 ( "foo" , STRING_0 ) ; org . IDENT_0 . IDENT_1 . common . message . IDENT_2 IDENT_4 = org . IDENT_0 . IDENT_1 . common . message . IDENT_2 . METHOD_1 ( "bar" , STRING_1 ) ; org . IDENT_0 . IDENT_1 . common . message . IDENT_5 messages = new org . IDENT_0 . IDENT_1 . common . message . METHOD_2 ( ( ( org . IDENT_0 . IDENT_1 . common . message . IDENT_6 ) ( IDENT_7 ) ) ) ; messages . addAll ( java . util . Arrays . asList ( IDENT_3 , IDENT_4 ) ) ; java . util . List < org . IDENT_0 . IDENT_1 . common . message . IDENT_2 > result = new java . util . ArrayList < org . IDENT_0 . IDENT_1 . common . message . IDENT_2 > ( ) ; for ( org . IDENT_0 . IDENT_1 . common . message . IDENT_2 message : messages ) { result . add ( message ) ; } "<AssertPlaceHolder>" ; } add ( java . lang . String ) { if ( code != null ) { this . add ( org . IDENT_0 . IDENT_1 . common . message . IDENT_2 . METHOD_1 ( code ) ) ; } else { throw new java . lang . IllegalArgumentException ( STRING_2 ) ; } return this ; }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . is ( java . util . Arrays . asList ( IDENT_3 , IDENT_4 ) ) )