public override void OneTimeSetup() { _readOnlyCollectionRelayInstanceType = typeof(ReadOnlyCollectionRelay); _readOnlyCollectionRelayInstanceFixture = this.Create <ReadOnlyCollectionRelay>(true); _readOnlyCollectionRelayInstance = _readOnlyCollectionRelayInstanceFixture ?? this.Create <ReadOnlyCollectionRelay>(false); CurrentInstance = _readOnlyCollectionRelayInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_ReadOnlyCollectionRelay_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange ReadOnlyCollectionRelay instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }