METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; org . apache . maven . model . IDENT_1 resource = org . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . METHOD_1 ( resources , IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . util . List , java . lang . String ) { if ( IDENT_7 == null ) { throw new java . lang . IllegalArgumentException ( STRING_1 ) ; } for ( org . apache . maven . model . IDENT_1 resource : resources ) { if ( IDENT_7 . equals ( resource . METHOD_2 ( ) ) ) { return resource ; } } org . apache . maven . model . IDENT_1 resource = new org . apache . maven . model . METHOD_3 ( ) ; resource . METHOD_4 ( IDENT_7 ) ; return resource ; }
org . junit . Assert . assertThat ( resource . METHOD_2 ( ) , org . hamcrest . CoreMatchers . is ( IDENT_0 ) )