public void Create_Default_Empty_Guid() { var id = Guid.Empty; var test = new SqLiteMessageQueueCorrelationId(id); Assert.Equal(id, test.Id.Value); Assert.False(test.HasValue); }
public void Create_Default() { var id = Guid.NewGuid(); var test = new SqLiteMessageQueueCorrelationId(id); Assert.Equal(id, test.Id.Value); Assert.True(test.HasValue); }
public void Create_Default_ToString() { var id = Guid.NewGuid(); var test = new SqLiteMessageQueueCorrelationId(id); Assert.Equal(id.ToString(), test.ToString()); }