Пример #1
0
        public void Should_not_throw_if_settings_are_null_on_fluent_invocation()
        {
            var fixture = new AsciiDoctorJRunnerFixture();

            fixture.GivenSettingsIsNull();

            var actual = fixture.RunFluent(x => { });

            actual.Args.Should().Be("");
        }
Пример #2
0
        public void Should_Throw_If_Settings_Are_Null()
        {
            var fixture = new AsciiDoctorJRunnerFixture();

            fixture.GivenSettingsIsNull();

            Action result = () =>
            {
                fixture.Run();
            };

            result.Should().Throw <ArgumentNullException>();
        }