I have been using Jersey client to connect to a REST API. Everything
was going great until I started to write my unit tests. I can't unit
test my client filters because the abstract class ClientFilter has some
methods that are final: specifically getNext() and setNext(). I can't
mock final methods so I can't finish my test of these classes. Is there
any particular reason why these methods are marked as final? Thanks.