Hey, Marcos Roberto Petry thanks for reporting the problem. I have tried to run the test case you’ve provided, and all tests are passing:
I’ve only added the surefire plugin to your project to run the tests from maven:
Could you try doing so (adding the surefire plugin and running the maven build in the terminal) to eliminate any IDE-related issues? If you still see the error after that - it might be that a problem comes from a particular version of the JDK you are using. Could you provide that? Thanks! |