public void Should_return_method_name( string name, string expected) { var configuration = new Configuration(); name.MatchGroups(configuration.ActionRegex(configuration)) .FirstOrDefault().ShouldEqual(expected); }
public void Should_match_method_name( string name, bool matches) { var configuration = new Configuration(); name.IsMatch(configuration.ActionRegex(configuration)) .ShouldEqual(matches); }