public void WriteObjectStart_WithNoParameter_WhenCalled_WritesObjectStart() { _writer.WriteObjectStart(); const string expectedHash = "wtA8bvsWw/gGSw0FnkX5UfF0hCGmIlcaUgCd3MKmcIUeGtAmn72B1FhW+iD/rNCB3SD+znYRQgvvtJ65hLwjyg=="; string actualHash = _writer.GetHash(); Assert.Equal(expectedHash, actualHash); }
public void GetHash_HasDefaultValue() { const string expectedHash = "J8dGcK23UHX60FjVzq97IMTneGyDuuijL2Jvl4KvNMmjPCBG72D9Knh403jin+yFGAa72aZ4ePOp8c2kgwdj/Q=="; var actualHash = _writer.GetHash(); Assert.Equal(expectedHash, actualHash); }