public void Parse_Exception() { // arrange var serializer = new UUIDSerializer(); // assert Assert.Throws <GraphQLClientException>(() => serializer.Parse(string.Empty)); }
public void Parse_Different_Formats(string format) { // arrange var serializer = new UUIDSerializer(); var guid = Guid.NewGuid(); // act Guid result = serializer.Parse(guid.ToString(format)); // assert Assert.Equal(guid, result); }