code: public static BooleanSupplier spy(BooleanSupplier proposition, Box<Boolean> result) {
          return new CapturingProposition(proposition, result);
      }
docs: Proxies a proposition, spying for result.
  
  @param proposition the proposition to be spied
  @param result a box that will be containing spied result
  @return the proxied proposition