@@ -0,0 +1,747 @@
+package com.theoryinpractise.quickcheckng;%0A%0Aimport rx.functions.Action1;%0A%0Apublic class RxActions %7B%0A%0A  /**%0A   * Returns an action that filters out expected exceptions, useful for testing.%0A   */%0A  public static %3CT%3E Action1%3CT%3E actionExpectingException(final Action1%3CT%3E originalAction, final Class%3C? extends Throwable%3E... throwables) %7B%0A    return new Action1%3CT%3E() %7B%0A      @Override%0A      public void call(T value) %7B%0A        try %7B%0A          originalAction.call(value);%0A        %7D catch (Throwable exception) %7B%0A          for (Class%3C? extends Throwable%3E throwable : throwables) %7B%0A            if (throwable.isAssignableFrom(exception.getClass())) %7B%0A              return;%0A            %7D%0A          %7D%0A          throw exception;%0A        %7D%0A      %7D%0A    %7D;%0A  %7D%0A%0A%7D%0A

Add simple exception helper