METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( br . com . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . class , IDENT_7 ) ) . thenReturn ( STRING_0 ) ; builder . METHOD_2 ( STRING_1 ) . METHOD_3 ( br . com . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_2 . IDENT_5 . IDENT_6 . class ) . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . lang . String , java . lang . String ) { return new org . hamcrest . IDENT_8 < br . com . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_2 . IDENT_9 > ( ) { @ br . com . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_2 . Override MOD_0 void METHOD_6 ( br . com . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_2 . IDENT_9 item , org . hamcrest . IDENT_10 IDENT_11 ) { } @ br . com . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_2 . Override MOD_0 boolean METHOD_7 ( br . com . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_2 . IDENT_9 item ) { if ( item . METHOD_8 ( ) . isEmpty ( ) ) { return false ; } br . com . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_2 . IDENT_12 METHOD_2 = item . METHOD_8 ( ) . get ( 0 ) ; return ( name . equals ( METHOD_2 . getName ( ) ) ) && ( uri . equals ( METHOD_2 . METHOD_9 ( ) ) ) ; } public void METHOD_10 ( org . hamcrest . IDENT_10 description ) { description . METHOD_11 ( STRING_2 ) . METHOD_11 ( name ) . METHOD_11 ( STRING_3 ) . METHOD_11 ( uri ) ; } } ; }
org . junit . Assert . assertThat ( builder , METHOD_5 ( STRING_1 , STRING_0 ) )