ResolvedWhenCompleted
ResolvedWhenCompleted[packet,fields]⟹test
returns a test to be used in RunUnitTest for whether the values of the given `fields` are resolved to sample, container, instrument or part if the DateCompleted field is informed.
Details
Input
Output
Examples
Basic Examples (3)
Generate an EmeraldTest Object on an Packet that should pass due to Status being Completed and the field of interest being resolved:
Generate an EmeraldTest Object on an Packet that should pass due to Status not being Completed:
Generate an EmeraldTest Object on an Packet that should fail due to Status being Completed, but the field of interest not being resolved: