public override void OneTimeSetup() { _mutableValueTypeGeneratorInstanceType = typeof(MutableValueTypeGenerator); _mutableValueTypeGeneratorInstanceFixture = this.Create <MutableValueTypeGenerator>(true); _mutableValueTypeGeneratorInstance = _mutableValueTypeGeneratorInstanceFixture ?? this.Create <MutableValueTypeGenerator>(false); CurrentInstance = _mutableValueTypeGeneratorInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_MutableValueTypeGenerator_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange MutableValueTypeGenerator instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }