public override void OneTimeSetup() { _uriSchemeGeneratorInstanceType = typeof(UriSchemeGenerator); _uriSchemeGeneratorInstanceFixture = this.Create <UriSchemeGenerator>(true); _uriSchemeGeneratorInstance = _uriSchemeGeneratorInstanceFixture ?? this.Create <UriSchemeGenerator>(false); CurrentInstance = _uriSchemeGeneratorInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_UriSchemeGenerator_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange UriSchemeGenerator instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }