public void ParseReturnsExpectedResult() { var guid = Guid.NewGuid(); var sut = Uuid.Parse(guid.ToString()); Assert.Equal(Uuid.FromGuid(guid), sut); }
public void ArgumentNullException() { var ex = Assert.Throws <ArgumentNullException>(() => Uuid.Parse(null)); Assert.Equal("value", ex.ParamName); }