public void OnBeforeTestExecute() { srsly = new RedisJSONSerializer(); this.items = new RedisSessionStateItemCollection( new Dictionary<string, byte[]> { { "a", Encoding.UTF8.GetBytes(srsly.SerializeOne("a", "x")) }, { "b", Encoding.UTF8.GetBytes(srsly.SerializeOne("b", "y")) }, { "c", Encoding.UTF8.GetBytes(srsly.SerializeOne("c", "z")) } }, "fakeCollection"); }
public void OnBeforeTestExecute() { this.srsly = new RedisJSONSerializer(); }