Skip to content

Instantly share code, notes, and snippets.

@with-heart
Last active July 23, 2017 23:31
Show Gist options
  • Save with-heart/64dd9d6252a07bb9582b3189a19f8d74 to your computer and use it in GitHub Desktop.
Save with-heart/64dd9d6252a07bb9582b3189a19f8d74 to your computer and use it in GitHub Desktop.
class UriDecryptionFilterTest {
private val filter = UriDecryptionFilter()
private val request = MockHttpServletRequest()
@Before
fun init() {
val ctx = RequestContext.getCurrentContext()
ctx.clear()
ctx.request = request
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment