METHOD_0 ( ) { br . com . IDENT_0 . IDENT_1 . http . route . IDENT_2 route = mock ( br . com . IDENT_0 . IDENT_1 . http . route . IDENT_2 . class ) ; br . com . IDENT_0 . IDENT_1 . http . route . IDENT_2 IDENT_3 = mock ( br . com . IDENT_0 . IDENT_1 . http . route . IDENT_2 . class , STRING_0 ) ; when ( route . METHOD_1 ( ) ) . thenReturn ( METHOD_2 ( ) ) ; when ( IDENT_3 . METHOD_1 ( ) ) . thenReturn ( METHOD_2 ( ) ) ; when ( route . METHOD_3 ( STRING_1 ) ) . thenReturn ( true ) ; when ( IDENT_3 . METHOD_3 ( STRING_1 ) ) . thenReturn ( true ) ; java . util . IDENT_4 < br . com . IDENT_0 . IDENT_1 . controller . IDENT_5 > IDENT_6 = java . util . IDENT_4 . METHOD_4 ( br . com . IDENT_0 . IDENT_1 . controller . IDENT_5 . class ) ; when ( route . METHOD_5 ( ) ) . thenReturn ( IDENT_6 ) ; when ( IDENT_3 . METHOD_5 ( ) ) . thenReturn ( IDENT_6 ) ; when ( route . METHOD_6 ( request , STRING_1 ) ) . thenReturn ( method ) ; when ( route . METHOD_7 ( ) ) . thenReturn ( Path . IDENT_7 ) ; when ( IDENT_3 . METHOD_7 ( ) ) . thenReturn ( Path . IDENT_8 ) ; IDENT_9 . add ( route ) ; IDENT_9 . add ( IDENT_3 ) ; br . com . IDENT_0 . IDENT_1 . controller . IDENT_10 found = IDENT_9 . parse ( STRING_1 , IDENT_5 . IDENT_11 , request ) ; "<AssertPlaceHolder>" ; } is ( java . lang . Class ) { br . com . IDENT_0 . IDENT_1 . proxy . IDENT_12 < T > handler = new br . com . IDENT_0 . IDENT_1 . proxy . IDENT_12 < T > ( ) { @ br . com . IDENT_0 . IDENT_1 . http . route . Override public java . lang . Object METHOD_8 ( java . lang . Object proxy , java . lang . reflect . Method method , java . lang . Object [ ] args , br . com . IDENT_0 . IDENT_1 . proxy . IDENT_13 IDENT_14 ) { boolean IDENT_15 = ! ( strategy . getClass ( ) . equals ( br . com . IDENT_0 . IDENT_1 . http . route . IDENT_16 . class ) ) ; if ( IDENT_15 ) { return null ; } is ( type , method ) ; return null ; } } ; return IDENT_17 . METHOD_9 ( type , handler ) ; }
org . junit . Assert . assertThat ( found , org . hamcrest . Matchers . is ( org . hamcrest . Matchers . equalTo ( method ) ) )