public void GetString_NullFormat_IsValid() { GuidConverter converter = new GuidConverter(); string result = converter.GetString(new Guid(new byte[16])); Assert.Equal("00000000-0000-0000-0000-000000000000", result); }
public void GetString_FormatSpecified_IsValid() { GuidConverter converter = new GuidConverter("N"); string result = converter.GetString(new Guid(new byte[16])); Assert.Equal("00000000000000000000000000000000", result); }