I'm trying to write a yaml test on a module, so I want to check that a
validation is performed over a field then I try to create a partner with
intensionally wrong field value. The field is not created, but how can I
tell whether if performing the right one or not?