public void ShouldFormattedStringMatchRegex(string value) { Assert.Matches(@"^[0-9]{2}(\.[0-9]{3}){2}\/[0-9]{4}\-[0-9]{2}$", Cnpj.Format(value)); }