public void Should_Throw_If_Process_Was_Not_Started() { // Given var fixture = new AppleSimulatorListRuntimesFixture(); fixture.GivenProcessCannotStart(); // When fixture.Invoking(x => x.Run()) // Then .Should().Throw <CakeException>() .WithMessage("AppleSimulator: Process was not started."); }