public void Match(string from, string toExcluding, string version, bool match) { var attribute = new ArgumentAttribute("hi") { From = from, ToExcluding = toExcluding }; var result = attribute.Match(Version.Parse(version)); Assert.Equal(match, result); }