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