コード例 #1
0
        public void ShouldValidateWithFluentAssertions()
        {
            var specification = new TestSpecificationWithFluentAssertions();
            var result        = specification.BuildExpression();

            result.Examples.Should().HaveCount(1);
            var example = result.Examples.First();

            example.Examples.Should().HaveCount(1);
        }
コード例 #2
0
        public void ShouldValidateWithFluentAssertions()
        {
            var specification = new TestSpecificationWithFluentAssertions();
            var result = specification.BuildExpression();

            result.Examples.Should().HaveCount(1);
            var example = result.Examples.First();
            example.Examples.Should().HaveCount(1);
        }