open fun assertWithDiagnostics(assertion: Runnable): Unit
Execute the given Runnable, catch any AssertionError, decorate with AssertionError containing diagnostic information about the request and response, and then re-throw.
AssertionError