public void IgnoredAutoPropertiesAreNotDeserialized() { var toWrite = new HasIgnoredAutoProperty(123); var reflectionWriter = new ReflectionTypeWriter(toWrite.GetType()); reflectionWriter.WriteType(toWrite, this.mockedWriter.Object); this.mockedWriter.Verify(mr => mr.Write(It.IsAny<Type>()), Times.Never()); }
public void IgnoredAutoPropertiesAreNotDeserialized() { var toWrite = new HasIgnoredAutoProperty(123); var reflectionWriter = new ReflectionTypeWriter(toWrite.GetType()); reflectionWriter.WriteType(toWrite, this.mockedWriter.Object); this.mockedWriter.Verify(mr => mr.Write(It.IsAny <Type>()), Times.Never()); }