public void NegativeAddValueTwice() { var si = new SerializationInfo(typeof(Serializable), new FormatterConverter()); si.AddValue("bool", true); Assert.Throws<SerializationException>(() => si.AddValue("bool", true)); }