public Exception GetNoMatchBecauseOfScopeFilterError(List<BindingMatch> matches, StepInstance stepInstance)
{
string stepDescription = stepFormatter.GetStepDescription(stepInstance);
return new BindingException(
string.Format("Multiple step definitions found, but none of them have matching scope for step '{0}': {1}",
stepDescription,
string.Join(", ", matches.Select(m => GetMethodText(m.StepBinding.Method)).ToArray())));
}