We’re elbow deep in functional tests and we’re trying to figure out how
to do some assertions about the state of the list of validation errors
on the request. We’d like to be able to assert that there are no
validation errors on a successful create/update. We’d like to be able
to assert that there are a specific number or matching set of errors on
a failing create/update.
I’ve done a lot of grovelling through the code and a lot of playing
around in the breakpointer inspecting the various objects at hand and
I’m not seeing how to get to this information.
Anyone got any ideas on how to do this?