public void SimpleEtag() { ETagBuilder b = CreateBuilder(); b.Set("\"myetag\""); Assert.Equal("\"myetag\"", b.Build()); b.Reset(); Assert.Null(b.Build()); }
public void WeakEtag() { ETagBuilder b = CreateBuilder(); b.Set("\"myetag\"", true); Assert.Equal("W/\"myetag\"", b.Build()); }