/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expectAtMostOnce(Threads) * @since 2.0 */ @Deprecated public static Spy expectAtMostOnce(Threads threadMatcher) { return spy().expectAtMostOnce(threadMatcher); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expectAtLeast(int, Query) * @since 2.2 */ @Deprecated public static Spy expectAtLeast(int allowedStatements, Query query) { return spy().expectAtLeast(allowedStatements, query); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expectNever() * @since 2.0 */ @Deprecated public static Spy expectNever() { return spy().expectNever(); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expectNever(Threads) * @since 2.0 */ @Deprecated public static Spy expectNever(Threads threadMatcher) { return spy().expectNever(threadMatcher); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expectAtMostOnce(Threads, Query) * @since 2.2 */ @Deprecated public static Spy expectAtMostOnce(Threads threadMatcher, Query query) { return spy().expectAtMostOnce(threadMatcher, query); }
/** * @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#expect(int, Threads, Query) * @since 2.2 */ @Deprecated public static Spy expect(int allowedStatements, Query query, Threads threadMatcher) { return spy().expect(allowedStatements, query, threadMatcher); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expectAtLeast(int, Query) * @since 2.2 */ @Deprecated public static Spy expectAtLeast(int allowedStatements, Query query) { return spy().expectAtLeast(allowedStatements, query); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expectAtLeast(int, Threads, Query) * @since 2.2 */ @Deprecated public static Spy expectAtLeast(int allowedStatements, Threads threadMatcher, Query query) { return spy().expectAtLeast(allowedStatements, threadMatcher, query); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy * @see Spy#expectBetween(int, int) * @since 2.0 */ @Deprecated public static Spy expectBetween(int minAllowedStatements, int maxAllowedStatements) { return spy().expectBetween(minAllowedStatements, maxAllowedStatements); }
/** * @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#expect(int) * @since 2.0 */ @Deprecated public static Spy expect(int allowedStatements) { return spy().expect(allowedStatements); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expect(int, Threads) * @since 2.0 */ @Deprecated public static Spy expect(int allowedStatements, Threads threadMatcher) { return spy().expect(allowedStatements, threadMatcher); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expectAtLeast(int, Threads) * @since 2.0 */ @Deprecated public static Spy expectAtLeast(int allowedStatements, Threads threadMatcher) { return spy().expectAtLeast(allowedStatements, threadMatcher); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy * @see Spy#expectBetween(int, int) * @since 2.0 */ @Deprecated public static Spy expectBetween(int minAllowedStatements, int maxAllowedStatements) { return spy().expectBetween(minAllowedStatements, maxAllowedStatements); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expectNever(Query) * @since 2.2 */ @Deprecated public static Spy expectNever(Query query) { return spy().expectNever(query); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expectNever(Threads, Query) * @since 2.2 */ @Deprecated public static Spy expectNever(Threads threadMatcher, Query query) { return spy().expectNever(threadMatcher, query); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expectAtMostOnce() * @since 2.0 */ @Deprecated public static Spy expectAtMostOnce() { return spy().expectAtMostOnce(); }
/** * @return a new {@link Spy} instance with an expectation initialized * @see #spy() * @see Spy#expectBetween(int, int, Threads, Query) * @since 2.0 */ @Deprecated public static Spy expectBetween(int minAllowedStatements, int maxAllowedStatements, Query query, Threads threadMatcher) { return spy().expectBetween(minAllowedStatements, maxAllowedStatements, query, threadMatcher); }