I am having a class as follows. I would like to know how can we mock this class using Typemock
public static class MyClass
{
public static string MyFunction()
{
}
}
I am having a class as follows. I would like to know how can we mock this class using Typemock
public static class MyClass
{
public static string MyFunction()
{
}
}
There's no special syntax required for static method mocking. You should be able to use the AAA syntax as usual.
There is some great documentation about this on the Typemock site.