void () { PyUnitTestDebuggingTask.PythonExceptionData pythonExceptionModel = PyUnitTestDebuggingTask.PythonExceptionData.fromString( "(<class 'foo'>, AssertionError('bar is not baz'), <traceback object at 0x123456789>)"); Assert.assertEquals("foo", pythonExceptionModel.getExceptionClass()); Assert.assertEquals("bar is not baz", pythonExceptionModel.getErrorMessage()); Assert.assertNull(PyUnitTestDebuggingTask.PythonExceptionData.fromString("foobar")); }