Spy.expectAtMost
Code IndexAdd Codota to your IDE (free)

Best code snippets using io.sniffy.Spy.expectAtMost(Showing top 10 results out of 315)

origin: sniffy/sniffy

/**
 * @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);
}
origin: sniffy/sniffy

/**
 * @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);
}
origin: sniffy/sniffy

/**
 * @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);
}
origin: sniffy/sniffy

/**
 * @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);
}
origin: sniffy/sniffy

/**
 * @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);
}
origin: sniffy/sniffy

/**
 * @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);
}
origin: sniffy/sniffy

/**
 * @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);
}
origin: sniffy/sniffy

/**
 * @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);
}
origin: sniffy/sniffy

/**
 * @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);
}
origin: sniffy/sniffy

/**
 * @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);
}
io.sniffySpyexpectAtMost

Popular methods of Spy

  • expect
  • close
    Alias for #verify() method; it is useful for try-with-resource API: @Test public void testTryWi
  • execute
  • call
    Executes the Callable#call() method on provided argument and verifies the expectations
  • expectAtLeast
  • expectAtMostOnce
  • getExecutedStatements
  • getSocketOperations
  • run
    Executes the Runnable#run() method on provided argument and verifies the expectations
  • verify
  • addExecutedStatement
  • addReturnedRow
  • addExecutedStatement,
  • addReturnedRow,
  • addSocketOperation,
  • checkOpened,
  • expectBetween,
  • expectNever,
  • getSniffyAssertionError,
  • self,
  • verifyAndAddToException

Popular classes and methods

  • getSupportFragmentManager (FragmentActivity)
  • getApplicationContext (Context)
  • getExternalFilesDir (Context)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Format (java.text)
    Format is an abstract base class for formatting locale-sensitive information such as dates, messages
  • ArrayList (java.util)
    Resizable-array implementation of the List interface.
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • LinkedList (java.util)
    Linked list implementation. [Sun docs] [http://java.sun.com/j2se/1.5.0/docs/api/java/util/LinkedList
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o

For IntelliJ IDEA and
Android Studio

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)