public void Should_not_execute_recovery_action_when_exception_does_not_occur()
{
var actionWasCalled = false;
var recoveryWasCalled = false;
Should.Do(() => actionWasCalled = true).On<Exception>(x => recoveryWasCalled = true);
Assert.That(actionWasCalled, Is.True);
Assert.That(recoveryWasCalled, Is.False);
}