private static final class CapturedOutput.CapturedOutputMatcherBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
private List<Matcher<String>> |
matchers
Hold all matchers.
|
| Modifier | Constructor and Description |
|---|---|
private |
CapturedOutputMatcherBuilder() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
add(Matcher<String> matcher)
Adds a matcher.
|
(package private) Matcher<String> |
build()
Returns the combined matcher.
|
private List<Matcher<? super String>> |
castedMatchers()
Casts list to matchers of super type string.
|
(package private) boolean |
expectsSomething()
Whether the builder has any matcher.
|
Copyright © 2014 Sven Strittmatter. All Rights Reserved.