1
Is it possible to Mock the LxSerializer.Serialize?
Question asked by Scott Zrubek - 3/22/2023 at 1:08 PM
Answered
I tried 

                SerializerMock.Setup(x => x.Serialize(It.IsAny<string>(), It.IsAny<PackageFileTypeCt>(), It.IsAny<LxWriterSettings>(), It.IsAny<XmlQualifiedName>())).Throws(new LxException("The attribute sssss /xxx/ccc/vvv/DummyCtDTO"));

but it looks like it's unsupported.

1 Reply

Reply to Thread
0
Liquid Support Replied
Employee Post Marked As Answer
Can you please provide more information?
Is SerializerMock your own class or what tool are you using?
What are you trying to achieve?

Reply to Thread