public void ContainsKey() { var sut = new StateSerializer(new Dictionary<string, string>()); Assert.IsFalse(sut.ContainsKey("foo")); sut["foo"] = "bar"; Assert.IsTrue(sut.ContainsKey("foo")); }