public void GenerateReturnsStringTest() { var target = new IPAddressValueGenerator(); var actual = target.Generate(typeof(string), "IpAddress", null); actual.Should().NotBeNull(); actual.As<string>().Should().MatchRegex(@"\d+(\.\d+){3}"); }