public void Should_Throw_If_Installer_Could_Not_Be_Resolved() { // Given var fixture = new ScriptProcessorFixture(); fixture.GivenNoInstallerCouldBeResolved(); // When var result = Record.Exception(() => fixture.InstallTools()); // Then Assert.IsCakeException(result, "Could not find an installer for the 'custom' scheme."); }