コード例 #1
0
        public void Should_return_method_name(
            string name, string expected)
        {
            var configuration = new Configuration();

            name.MatchGroups(configuration.ActionRegex(configuration))
            .FirstOrDefault().ShouldEqual(expected);
        }
コード例 #2
0
        public void Should_match_method_name(
            string name, bool matches)
        {
            var configuration = new Configuration();

            name.IsMatch(configuration.ActionRegex(configuration))
            .ShouldEqual(matches);
        }