private Mock<IPatternResolutionContext> CreateContext()
{
var context = new Mock<IPatternResolutionContext>();
context.SetupGet(c => c.DependencyName).Returns("dependency");
context.SetupGet(c => c.FileName).Returns("something");
context.SetupGet(c => c.Extension).Returns("dll");
context.SetupGet(c => c.Version).Returns((string)null);
return context;
}