I\'m having trouble verifying that mock of IInterface.SomeMethod(T arg) was called using Moq.Mock.Verify.
IInterface.SomeMethod(T arg)
Moq.Mock.Verify
I\'m can verify that met
I'm going to wing it. Since GenericMethod requires that a T argument be provided, would it be possible to do:
GenericMethod
mockInterface.Verify(serviceInterface => serviceInterface.GenericMethod(It.Is(x=> typeof(ISpecificCommand).IsAssignableFrom(x.GetType()))), Times.Once());