Something I ran into a while back while writing tests.
If intentionally testing code for an exception then it is required to add an annotation above the test method.
For example if the code will throw IllegalArgumentException.
Share this Story
It’s possible to type hint an array (sort ...