/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expectAtMost(int, Query) * @since 2.2 */ @Deprecated public static Spy expectAtMost(int allowedStatements, Query query) { return spy().expectAtMost(allowedStatements, query); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expectAtMost(int, Threads, Query) * @since 2.2 */ @Deprecated public static Spy expectAtMost(int allowedStatements, Query query, Threads threadMatcher) { return spy().expectAtMost(allowedStatements, query, threadMatcher); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expectAtMost(int) * @since 2.0 */ @Deprecated public static Spy expectAtMost(int allowedStatements) { return spy().expectAtMost(allowedStatements); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expectAtMost(int, Threads) * @since 2.0 */ @Deprecated public static Spy expectAtMost(int allowedStatements, Threads threadMatcher) { return spy().expectAtMost(allowedStatements, threadMatcher); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expectAtMost(int, Threads, Query) * @since 2.2 */ @Deprecated public static Spy expectAtMost(int allowedStatements, Query query, Threads threadMatcher) { return spy().expectAtMost(allowedStatements, query, threadMatcher); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expectAtMost(int, Threads, Query) * @since 2.2 */ @Deprecated public static Spy expectAtMost(int allowedStatements, Threads threadMatcher, Query query) { return spy().expectAtMost(allowedStatements, threadMatcher, query); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expectAtMost(int, Threads) * @since 2.0 */ @Deprecated public static Spy expectAtMost(int allowedStatements, Threads threadMatcher) { return spy().expectAtMost(allowedStatements, threadMatcher); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expectAtMost(int, Query) * @since 2.2 */ @Deprecated public static Spy expectAtMost(int allowedStatements, Query query) { return spy().expectAtMost(allowedStatements, query); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expectAtMost(int, Threads, Query) * @since 2.2 */ @Deprecated public static Spy expectAtMost(int allowedStatements, Threads threadMatcher, Query query) { return spy().expectAtMost(allowedStatements, threadMatcher, query); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expectAtMost(int) * @since 2.0 */ @Deprecated public static Spy expectAtMost(int allowedStatements) { return spy().expectAtMost(allowedStatements); }