public void ShouldThrowIfProcessWasNotStarted() { // Given var fixture = new NewmanFixture(); fixture.GivenProcessCannotStart(); var action = new Action(() => fixture.Run()); action.ShouldThrow <CakeException>().WithMessage("Newman: Process was not started."); }