public void ShouldValidateSpecificationWithBeforeAll() { var specification = new TestSpecificationWithBeforeAll(); var result = specification.BuildExpression(); result.Examples.Should().HaveCount(1); var example = result.Examples.First(); example.Examples.Should().HaveCount(1); example.BeforeEach.Should().NotBeNull(); example.AfterEach.Should().NotBeNull(); example.BeforeAll.Should().NotBeNull(); }