public void Create_Uuid_NullCprNumber()
            {
                Guid uuid = Guid.NewGuid();
                var  ret  = PersonRelationTypeHelper.CreateList <TRelation>(uuid);

                Assert.Null(ret[0].CprNumber);
            }
            public void Create_Uuid_CorrectUuid()
            {
                Guid uuid = Guid.NewGuid();
                var  ret  = PersonRelationTypeHelper.CreateList <TRelation>(uuid);

                Assert.AreEqual(uuid.ToString(), ret[0].ReferenceID.Item);
            }
            public void Create_Pnr_NullReferenceID()
            {
                string pnr = Utilities.RandomCprNumber();
                var    ret = PersonRelationTypeHelper.CreateList <TRelation>(pnr);

                Assert.Null(ret[0].ReferenceID);
            }
            public void Create_Pnr_CorrectPnr()
            {
                string pnr = Utilities.RandomCprNumber();
                var    ret = PersonRelationTypeHelper.CreateList <TRelation>(pnr);

                Assert.AreEqual(pnr, ret[0].CprNumber);
            }
            public void CreateList_Null_ThrowsException()
            {
                Guid uuid = Guid.Empty;

                PersonRelationTypeHelper.CreateList <TRelation>(uuid);
            }
            public void CreateList_Null_ThrowsException()
            {
                string pnr = null;

                PersonRelationTypeHelper.CreateList <TRelation>(pnr);
            }