Re: replace endpoint uri in error handler for testing purposes

2013-04-13 Thread Claus Ibsen
Hi You can have a getter/setter on the route builder class, and then just use the setter when testing to change the uri. And from the configure method you can use the getter to get the uri when using it in the error handler. On Fri, Apr 12, 2013 at 12:06 PM, Tomasz Pasierb wrote: > Hi, > > I'm t

replace endpoint uri in error handler for testing purposes

2013-04-12 Thread Tomasz Pasierb
Hi, I'm trying to test a route that has a error handler installed and I cannot find a way to replace an enpoint (in the error handler) for which I do not have a component in my unit test. I chose a strategy to test an existing (final) route and modify it (using weaving) in the unit test in a w