Skip to content
Snippets Groups Projects
Commit 5f5930e8 authored by buczekp's avatar buczekp
Browse files

[LMS-1949] added create method for convenience

SVN: 19401
parent a906a157
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,12 @@ public class RecordingMatcher<T> extends BaseMatcher<T> ...@@ -33,6 +33,12 @@ public class RecordingMatcher<T> extends BaseMatcher<T>
private List<T> objects = new ArrayList<T>(); private List<T> objects = new ArrayList<T>();
/** convenience method for creating recording matcher of required type (depending on context) */
public static <T> RecordingMatcher<T> create()
{
return new RecordingMatcher<T>();
}
/** /**
* Removes all recored objects. * Removes all recored objects.
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment