public override void OneTimeSetup() { _delegateSpecificationInstanceType = typeof(DelegateSpecification); _delegateSpecificationInstanceFixture = this.Create <DelegateSpecification>(true); _delegateSpecificationInstance = _delegateSpecificationInstanceFixture ?? this.Create <DelegateSpecification>(false); CurrentInstance = _delegateSpecificationInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_DelegateSpecification_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange DelegateSpecification instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }