[android-components](../index.md) / [mozilla.components.support.test](index.md) / [capture](./capture.md)

# capture

`fun <T> capture(value: ArgumentCaptor<`[`T`](capture.md#T)`>): `[`T`](capture.md#T) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/support/test/src/main/java/mozilla/components/support/test/Matchers.kt#L44)

Mockito matcher that captures the passed argument.

(The version from Mockito doesn't work correctly with Kotlin code.)

