public void CanThrowWhenExceptionIs() { Assert.Throws<SqlAlreadyFilledException>(() => Attempt.Do(() => { throw new SqlAlreadyFilledException(); }).ThrowIfExceptionIs<SqlTypeException>()); }