public void Should_Throw_If_Octo_Executable_Was_Not_Found() { // Given var fixture = new OctopusDeployReleaseCreatorFixture(); fixture.GivenDefaultToolDoNotExist(); // When var result = Record.Exception(() => fixture.Run()); // Then Assert.IsCakeException(result, "Octo: Could not locate executable."); }