Beispiel #1
0
        public void When_NexuRelation_Instance_Is_Created_Id_Should_Be_A_Guid()
        {
            // act
            var result = new NexuRelation();

            // assert
            Assert.That(result.Id != Guid.Empty);
        }
Beispiel #2
0
        public void Nexu_Relation_Udi_Should_Match_Id()
        {
            // act
            var result = new NexuRelation
            {
                Id = new Guid("9a935375-6c89-4dda-ae83-b9207e19a3ee")
            };

            // assert
            Approvals.VerifyJson(JsonConvert.SerializeObject(result));
        }