code: public static synchronized <T> WithOrWithoutExpectedArguments<T> whenNew(Constructor<T> ctor) {
          return new ConstructorAwareExpectationSetup<T>(ctor);
      }
docs: Allows specifying expectations on new invocations. For example you might
  want to throw an exception or return a mock.