Пример #1
0
            public void Should_Throw_If_Settings_Are_Null()
            {
                // Given
                var fixture = new DotNetCoreExecutorFixture();

                fixture.AssemblyPath = "./bin/Debug/app.dll";
                fixture.Arguments    = "--args";
                fixture.Settings     = null;
                fixture.GivenDefaultToolDoNotExist();

                // When
                var result = Record.Exception(() => fixture.Run());

                // Then
                Assert.IsArgumentNullException(result, "settings");
            }