public void Should_Throw_If_Process_Was_Not_Started()
            {
                // Given
                var fixture = new FastlaneDeliverProviderFixture();

                fixture.GivenProcessCannotStart();

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

                // Then
                Assert.IsType <CakeException>(result);
                Assert.Equal("fastlane: Process was not started.", result?.Message);
            }
            public void Should_Throw_Bundle_Exec_Process_Was_Not_Started_()
            {
                // Given
                var fixture = new FastlaneDeliverProviderFixture();

                fixture.Settings.UseBundleExecution = true;
                fixture.GivenProcessCannotStart();

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

                // Then
                Assert.IsType <CakeException>(result);
                Assert.Equal("bundle exec fastlane: Process was not started.", result?.Message);
            }