public void AddRequestModule_should_not_fail_if_modules_list_is_null() { configuration.Modules = null; configuration.AddRequestModule(Substitute.For <IRequestModule>()); configuration.Modules.Should().HaveCount(1); }
public void Validate_should_produce_an_error_if_request_modules_list_contains_a_null_value() { configuration.AddRequestModule(null); Console.Out.WriteLine(configuration.Validate().Should().ContainSingle().Which); }