If you call a virtual method that has behavior defined, but the parameters does not match, it will cause undefined behavior due to the fact that the original (virtual) method is not invoked AND no default value is returned (or exception is raised).
From now on we call the original base method if the parameters does not match. This is the same behavior as Moq does in C#.
If you call a virtual method that has behavior defined, but the parameters does not match, it will cause undefined behavior due to the fact that the original (virtual) method is not invoked AND no default value is returned (or exception is raised).
From now on we call the original base method if the parameters does not match. This is the same behavior as Moq does in C#.