Esempio n. 1
0
 public override void OneTimeSetup()
 {
     _collectionRelayInstanceType    = typeof(CollectionRelay);
     _collectionRelayInstanceFixture = this.Create <CollectionRelay>(true);
     _collectionRelayInstance        = _collectionRelayInstanceFixture ?? this.Create <CollectionRelay>(false);
     CurrentInstance = _collectionRelayInstanceFixture;
     ConfigureIgnoringTests(); // Configure ignoring tests.
 }
Esempio n. 2
0
        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();
        }