I hope you know, because I don't see it. Bonus points for whoever figures out how one can achieve what this test is trying to achieve.
using NUnit.Framework;
using Moq;
[TestFixture]
public class MoqHuh
{
public class A {}
public class B : A {}
public interface IHelper
{
void DoIt(A a);
}
[Test]
public void Huh()
{
var mock = new Mock<IHelper>();
mock.Expect(helper => helper.DoIt(It.IsAny<B>())).Verifiable();
mock.Object.DoIt(new B());
mock.VerifyAll();
}
}