public void ShouldThrowIfExecutableWasNotFound() { // Given var fixture = new NewmanFixture(); fixture.GivenDefaultToolDoNotExist(); // When var action = new Action(() => fixture.Run()); // Then action.ShouldThrow <CakeException>().WithMessage("Newman: Could not locate executable."); }