public abstract class StatementCaptureListMatchers extends Object
StatementCaptureListMatchers abstract class defines static
factory method for a statement capture list.| Constructor and Description |
|---|
StatementCaptureListMatchers() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends GenericStatement> |
isEmpty()
Creates a matcher that matches if the captured list is empty.
|
static <T extends GenericStatement> |
isNotEmpty()
Creates a matcher that matches if the captured list is not empty.
|
static <T extends GenericStatement> |
size(org.hamcrest.Matcher<Integer> matcher)
Accesses the size assertions with a Hamcrest match for asserting the
the number of captured statements for a statement capture list.
|
public static <T extends GenericStatement> StatementCaptureListMatcher<T> size(org.hamcrest.Matcher<Integer> matcher)
T - the type of statements capturedmatcher - a matcher for the size expected for the statement capture
listpublic static <T extends GenericStatement> org.hamcrest.Matcher<StatementCaptureList<T>> isEmpty()
T - the type of statements capturedpublic static <T extends GenericStatement> org.hamcrest.Matcher<StatementCaptureList<T>> isNotEmpty()
T - the type of statements capturedCopyright (C) 2015-2017 The Helenus Driver Project Authors.