Ejemplo n.º 1
0
            public void Should_Throw_If_Process_Was_Not_Started()
            {
                // Given
                var fixture = new ChocolateySourcesFixture();

                fixture.GivenProcessCannotStart();

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

                // Then
                Assert.IsCakeException(result, "Chocolatey: Process was not started.");
            }