public override void OneTimeSetup() { _intPtrGuardInstanceType = typeof(IntPtrGuard); _intPtrGuardInstanceFixture = this.Create <IntPtrGuard>(true); _intPtrGuardInstance = _intPtrGuardInstanceFixture ?? this.Create <IntPtrGuard>(false); CurrentInstance = _intPtrGuardInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_IntPtrGuard_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange IntPtrGuard instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }