public override void OneTimeSetup() { _fixedNameTestMethodBuilderInstanceType = typeof(FixedNameTestMethodBuilder); _fixedNameTestMethodBuilderInstanceFixture = this.Create <FixedNameTestMethodBuilder>(true); _fixedNameTestMethodBuilderInstance = _fixedNameTestMethodBuilderInstanceFixture ?? this.Create <FixedNameTestMethodBuilder>(false); CurrentInstance = _fixedNameTestMethodBuilderInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_FixedNameTestMethodBuilder_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange FixedNameTestMethodBuilder instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }