etorreborre/specs2 — Issue #38: ArgumentCapture should expose all values captured
Author: ben-manes
Created: 2011-10-08 00:36:01+00:00
State: open

A Mockito ArgumentCaptor can capture multiple invocations and provide all captured values as a list. In Specs2, only the last value can be obtained from ArgumentCapture. This can be worked around my using Mockito's classes directly instead of the syntax sugar.

Suggested fix:
Provide a "values" accessor.