/** * Execute the {@link Runnable#run()} method, record the SQL queries * and return the {@link Spy} object with stats * @param runnable code to test * @return statistics on executed queries * @since 2.0 */ @Deprecated public static Spy run(Runnable runnable) { return Sniffy.run(runnable); }
/** * Execute the {@link Runnable#run()} method, record the SQL queries * and return the {@link Spy} object with stats * @param runnable code to test * @return statistics on executed queries * @since 2.0 */ @Deprecated public static Spy run(Runnable runnable) { return Sniffy.run(runnable); }