vendredi 10 mars 2017

How to mock servlet filter?

I have RestController and trying to make a test for it. When run it I get NullPointerException in doFilter(). I'm using UrlRewriteFilter. Does anybody know how to mock this filter?

Aucun commentaire:

Enregistrer un commentaire