Exemplo n.º 1
0
            public void ShouldThrowIfProcessWasNotStarted()
            {
                // Given
                WyamToolFixture fixture = new WyamToolFixture();

                fixture.GivenProcessCannotStart();

                // When, Then
                Assert.Throws <CakeException>(() => fixture.Run(), "Wyam: Process was not started.");
            }