public override void OneTimeSetup() { _collectionRelayInstanceType = typeof(CollectionRelay); _collectionRelayInstanceFixture = this.Create <CollectionRelay>(true); _collectionRelayInstance = _collectionRelayInstanceFixture ?? this.Create <CollectionRelay>(false); CurrentInstance = _collectionRelayInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_CollectionRelay_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange CollectionRelay instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }