auth0 / java-jwt

Java implementation of JSON Web Token (JWT)
MIT License
5.89k stars 922 forks source link

Replace expected exception with assertThrows #572

Closed poovamraj closed 2 years ago

poovamraj commented 2 years ago

Changes

To check for the values that are present in exception we used custom matchers. We have instead replaced them with assertThrows

Testing

Code Refactor on existing tests