<p dir="ltr">Ping.</p>
<p dir="ltr">--Greg</p>
<div class="gmail_quote">On Oct 8, 2015 11:41 AM, "Greg Hellings" <<a href="mailto:greg.hellings@gmail.com">greg.hellings@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm trying to mock out the HttpServerExchange object in my tests, but<br>
I apparently cannot do so because the class is declared final. Why is<br>
it final? Does that give Undertow anything beneficial?<br>
<br>
If there's good reason to not remove the final, I can just wrap the<br>
object in a proxy class that's not final, but I'd rather not do that<br>
just to get around limitations in mocking. Another alternative would<br>
be for me to skip unit tests on the handler methods and leverage<br>
integration tests.But there are sometimes bits of logic in the handler<br>
that I want to Unit Test directly.<br>
<br>
Any help would be appreciated.<br>
<br>
--Greg<br>
</blockquote></div>