Vulnerability in EPiServer.Forms
Hi, we just upgraded to epi server 11, and i wonder how i can unit test
We use NSubstitute and Xunit test
all help is appreciated
// Junior dev in this world
PermanentLinkUtility is basically just static methods making it hard to Mock. What method are you using (there might be other alternatives)? Otherwise you can always make your own abstraction around the PermanentLinkUtility usage and then mock your own abstraction.
Many thanks!, i made my own abstraction around and was able to test my code