def AddAsMessage(self, rdfvalue_in, source):
    self.Add(rdf_flows.GrrMessage(payload=rdfvalue_in, source=source))
Helper method to add rdfvalues as GrrMessages for testing.
dataset/ETHPy150Open google/grr/grr/lib/hunts/results.py/HuntResultCollection.AddAsMessage