Is there any way to use moq without definig interfaces?? I had try to use with method that i am testing.
var real = new SubCoreClass();
var mock = new Mock<SubCoreClass>();
But i got error in Setup:
mock.Setup(t => t.method(It.IsAny<string>(),It.IsAny<string>(),It.IsAny<string>()));
: Invalid setup on a non-virtual