Affecto.Patterns.Specification.Tests.OrSpecificationTests.Setup C# (CSharp) Method

Setup() private method

private Setup ( ) : void
return void
        public void Setup()
        {
            spec1 = Substitute.For<ISpecification<string>>();
            spec2 = Substitute.For<ISpecification<string>>();
            spec1.ReasonsForDissatisfaction.Returns(new List<string> { Spec1Dissatisfaction });
            spec2.ReasonsForDissatisfaction.Returns(new List<string> { Spec2Dissatisfaction });
        }