Summary: Methods | Inherited Methods | [Expand All]

# OngoingStubbing

`public final class OngoingStubbing`
`extends Object` ``

java.lang.Object
↳ | android.support.test.espresso.intent.OngoingStubbing

Supports method chaining after @Intents#intending method call.

## Summary

### Public methods
`void` | `respondWith(Instrumentation.ActivityResult result)` Sets a response for the intent being stubbed.

### Inherited methods
From class `java.lang.Object`
`Object` | `clone()`
`boolean` | `equals(Object arg0)`
`void` | `finalize()`
`final Class<?>` | `getClass()`
`int` | `hashCode()`
`final void` | `notify()`
`final void` | `notifyAll()`
`String` | `toString()`
`final void` | `wait(long arg0, int arg1)`
`final void` | `wait(long arg0)`
`final void` | `wait()`

## Public methods

### respondWith

    void respondWith (Instrumentation.ActivityResult result)

Sets a response for the intent being stubbed.

Parameters
`result` | `Instrumentation.ActivityResult`

- ## Interfaces

  - ResettingStubber
  - ResolvedIntent
  - VerifiableIntent
  - VerificationMode

- ## Classes

  - Checks
  - Intents
  - OngoingStubbing
  - ResettingStubberImpl
  - VerificationModes