public void StringToGuidTest() { var guid = new Guid(); var guidStr = guid.ToString(); var guid2 = GuidConverter.ToGuid(guidStr); Assert.Equal(guid, guid2); }
public void ConvertFailureTest(object obj) { var guid = GuidConverter.ToGuid(obj); Assert.Equal(Guid.Empty, guid); }