public override void OneTimeSetup() { _listFavoringConstructorQueryInstanceType = typeof(ListFavoringConstructorQuery); _listFavoringConstructorQueryInstanceFixture = this.Create <ListFavoringConstructorQuery>(true); _listFavoringConstructorQueryInstance = _listFavoringConstructorQueryInstanceFixture ?? this.Create <ListFavoringConstructorQuery>(false); CurrentInstance = _listFavoringConstructorQueryInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_ListFavoringConstructorQuery_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange ListFavoringConstructorQuery instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }