Closed sysgen closed 7 years ago
When declaring exception can now add the message to the exception in java style: Given exception java.lang.RuntimeException("MyException") thrown ...etc
Note that the parsing is flexible and looks for an open bracket to declare the start of message and ignores the quotes so: Given exception java.lang.RuntimeException(MyException) thrown ... is equally valid
Checked in and Available in 1.1.2 of wmaop release
When causing an Exception to be thrown in a test, provide a way to give a String for the exception's message so you can verify it's your exception using exceptionMessage.contains("") call.