Helper for creating specification tests with Muflone
Install-Package Muflone.SpecificationTests
Look at this repo
In the test's constructor implement your mock and replace the Repository property
public void MyTest()
{
var repo = new Mock<InMemoryEventRepository> { CallBase = true };
repo.Setup(x => x.GetById<Product>(It.IsAny<string>(), productId)).Returns(product);
Repository = repo.Object;
}