Beispiel #1
0
    public void Can_set_parent_reference_on_record_using_the_record()
    {
        var parent = new CKRecord("parent_record_type");
        var child  = new CKRecord("child_record_type");

        child.SetParentReferenceFromRecord(parent);

        Assert.AreEqual(child.Parent.RecordID, parent.RecordID);
    }