I'm using Machine spec / Shouldly and testing a mapping profile (mundane work). The mapping expectations are sometimes inconsistent. Sometimes I am seeing an "" explicit empty string get returned and sometimes it's a null value. Since we're mapping to a spreadsheet it doesn't matter on that front but it gets a little annoying when asserting.
Is there a way in Machine spec to do something like assertionValue.ShouldEqual(null || "") ?
Assert on the outcome of string.IsNullOrEmpty()