ModelBuilder.UnitTests.CountryValueGeneratorTests.GenerateReturnsRandomCountryTest C# (CSharp) Method

GenerateReturnsRandomCountryTest() private method

private GenerateReturnsRandomCountryTest ( ) : void
return void
        public void GenerateReturnsRandomCountryTest()
        {
            var target = new CountryValueGenerator();

            var first = target.Generate(typeof(string), "country", null);

            first.Should().BeOfType<string>();
            first.As<string>().Should().NotBeNullOrWhiteSpace();

            var second = target.Generate(typeof(string), "country", null);

            first.Should().NotBe(second);
        }