@Test public void testTryWithResourceApi_Between() throws Exception { try (Spy ignored = Sniffer.expectBetween(2, 10)) { executeStatements(7); } }
@Deprecated public static Spy expectBetween(int minAllowedStatements, int maxAllowedStatements) { return spy().expectBetween(minAllowedStatements, maxAllowedStatements); }
Sniffer extends Sniffy { @Deprecated public static Spy expectBetween(int minAllowedStatements, int maxAllowedStatements) { return spy().expectBetween(minAllowedStatements, maxAllowedStatements); } }
Sniffer extends Sniffy { @Deprecated public static Spy expectBetween(int minAllowedStatements, int maxAllowedStatements) { return spy().expectBetween(minAllowedStatements, maxAllowedStatements); } @Deprecated private  Sniffer(); }
Sniffer extends Sniffy { @Deprecated public static Spy expectBetween(int minAllowedStatements, int maxAllowedStatements) { return spy().expectBetween(minAllowedStatements, maxAllowedStatements); } @Deprecated private  Sniffer(); @Deprecated static Spy<? extends Spy<T>> spy(); @Deprecated static Spy execute(Executable executable); @Deprecated static Spy run(Runnable runnable); @SuppressWarnings("unchecked") @Deprecated static Spy.SpyWithValue<V> call(Callable<V> callable); @Deprecated static int executedStatements(); @Deprecated static Spy expectNever(); @Deprecated static Spy expectNever(Threads threadMatcher); @Deprecated static Spy expectNever(Query query); @Deprecated static Spy expectNever(Threads threadMatcher, Query query); @Deprecated static Spy expectNever(Query query, Threads threadMatcher); @Deprecated static Spy expectAtMostOnce(); @Deprecated static Spy expectAtMostOnce(Threads threadMatcher); @Deprecated static Spy expectAtMostOnce(Query query); @Deprecated static Spy expectAtMostOnce(Threads threadMatcher, Query query); @Deprecated static Spy expectAtMostOnce(Query query, Threads threadMatcher); @Deprecated static Spy expectAtMost(int allowedStatements); @Deprecated static Spy expectAtMost(int allowedStatements, Threads threadMatcher); @Deprecated static Spy expectAtMost(int allowedStatements, Query query); @Deprecated static Spy expectAtMost(int allowedStatements, Threads threadMatcher, Query query); @Deprecated static Spy expectAtMost(int allowedStatements, Query query, Threads threadMatcher); @Deprecated static Spy expect(int allowedStatements); @Deprecated static Spy expect(int allowedStatements, Threads threadMatcher); @Deprecated static Spy expect(int allowedStatements, Query query); @Deprecated static Spy expect(int allowedStatements, Threads threadMatcher, Query query); @Deprecated static Spy expect(int allowedStatements, Query query, Threads threadMatcher); @Deprecated static Spy expectAtLeast(int allowedStatements); @Deprecated static Spy expectAtLeast(int allowedStatements, Threads threadMatcher); @Deprecated static Spy expectAtLeast(int allowedStatements, Query query); @Deprecated static Spy expectAtLeast(int allowedStatements, Threads threadMatcher, Query query); @Deprecated static Spy expectAtLeast(int allowedStatements, Query query, Threads threadMatcher); @Deprecated static Spy expectBetween(int minAllowedStatements, int maxAllowedStatements); @Deprecated static Spy expectBetween(int minAllowedStatements, int maxAllowedStatements, Threads threadMatcher); @Deprecated static Spy expectBetween(int minAllowedStatements, int maxAllowedStatements, Query query); @Deprecated static Spy expectBetween(int minAllowedStatements, int maxAllowedStatements, Threads threadMatcher, Query query); @Deprecated static Spy expectBetween(int minAllowedStatements, int maxAllowedStatements, Query query, Threads threadMatcher); }
Sniffer extends Sniffy { @Deprecated public static Spy expectBetween(int minAllowedStatements, int maxAllowedStatements) { return spy().expectBetween(minAllowedStatements, maxAllowedStatements); } @Deprecated private  Sniffer(); @Deprecated static Spy<? extends Spy<T>> spy(); @Deprecated static Spy execute(Executable executable); @Deprecated static Spy run(Runnable runnable); @SuppressWarnings("unchecked") @Deprecated static Spy.SpyWithValue<V> call(Callable<V> callable); @Deprecated static int executedStatements(); @Deprecated static Spy expectNever(); @Deprecated static Spy expectNever(Threads threadMatcher); @Deprecated static Spy expectNever(Query query); @Deprecated static Spy expectNever(Threads threadMatcher, Query query); @Deprecated static Spy expectNever(Query query, Threads threadMatcher); @Deprecated static Spy expectAtMostOnce(); @Deprecated static Spy expectAtMostOnce(Threads threadMatcher); @Deprecated static Spy expectAtMostOnce(Query query); @Deprecated static Spy expectAtMostOnce(Threads threadMatcher, Query query); @Deprecated static Spy expectAtMostOnce(Query query, Threads threadMatcher); @Deprecated static Spy expectAtMost(int allowedStatements); @Deprecated static Spy expectAtMost(int allowedStatements, Threads threadMatcher); @Deprecated static Spy expectAtMost(int allowedStatements, Query query); @Deprecated static Spy expectAtMost(int allowedStatements, Threads threadMatcher, Query query); @Deprecated static Spy expectAtMost(int allowedStatements, Query query, Threads threadMatcher); @Deprecated static Spy expect(int allowedStatements); @Deprecated static Spy expect(int allowedStatements, Threads threadMatcher); @Deprecated static Spy expect(int allowedStatements, Query query); @Deprecated static Spy expect(int allowedStatements, Threads threadMatcher, Query query); @Deprecated static Spy expect(int allowedStatements, Query query, Threads threadMatcher); @Deprecated static Spy expectAtLeast(int allowedStatements); @Deprecated static Spy expectAtLeast(int allowedStatements, Threads threadMatcher); @Deprecated static Spy expectAtLeast(int allowedStatements, Query query); @Deprecated static Spy expectAtLeast(int allowedStatements, Threads threadMatcher, Query query); @Deprecated static Spy expectAtLeast(int allowedStatements, Query query, Threads threadMatcher); @Deprecated static Spy expectBetween(int minAllowedStatements, int maxAllowedStatements); @Deprecated static Spy expectBetween(int minAllowedStatements, int maxAllowedStatements, Threads threadMatcher); @Deprecated static Spy expectBetween(int minAllowedStatements, int maxAllowedStatements, Query query); @Deprecated static Spy expectBetween(int minAllowedStatements, int maxAllowedStatements, Threads threadMatcher, Query query); @Deprecated static Spy expectBetween(int minAllowedStatements, int maxAllowedStatements, Query query, Threads threadMatcher); @Deprecated
    final static AtomicInteger executedStatementsGlobalCounter; }