RequiredTogetherTest
RequiredTogetherTest[packet,fields]⟹test
returns a test to be used in RunUnitTest for whether the values of the given `fields` are either all Null or all non-Null.
Details
Input
Output
Examples
Basic Examples (3)
Generate an EmeraldTest Object on an Packet that should pass due the all of the specified fields being informed:
Generate an EmeraldTest Object on an Packet that should pass due the all of the specified fields being Null:
Generate an EmeraldTest Object on an Packet that should fail due to some but not all of the specified fields being Null: