Here\'s my class implementation where the generic is implementing two interfaces...
public class ClassA : where TGeneric: IInterfaceA, IInter
You could define an interface that includes both interface A and B (in your test project, for testing purposes), then use that in your mock.
public interface ICanTestAAndB : IInterfaceA, IInterfaceB {} var mock = new Mock>();