示例#1
0
        public void Should_Throw_If_Settings_Are_Null()
        {
            var fixture = new MinVerToolFixture(_log)
            {
                Settings = null,
            };

            fixture.GivenDefaultToolDoNotExist();

            fixture.Invoking(f => f.Run())
            .Should().ThrowExactly <ArgumentNullException>()
            .And.ParamName.Should().Be("settings");
        }