public override void OneTimeSetup() { _requestMemberTypeResolverInstanceType = typeof(RequestMemberTypeResolver); _requestMemberTypeResolverInstanceFixture = this.Create <RequestMemberTypeResolver>(true); _requestMemberTypeResolverInstance = _requestMemberTypeResolverInstanceFixture ?? this.Create <RequestMemberTypeResolver>(false); CurrentInstance = _requestMemberTypeResolverInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_RequestMemberTypeResolver_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange RequestMemberTypeResolver instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }