public final class HasLines extends MatcherEnvelope<String>
| Constructor and Description |
|---|
HasLines(org.cactoos.BiFunc<Collection<String>,Collection<String>,Boolean> fnc,
org.cactoos.Scalar<String> sep,
Collection<String> lns)
Ctor.
|
HasLines(Iterable<String> lns)
Ctor.
|
HasLines(String... lns)
Ctor.
|
HasLines(org.cactoos.Text... lns)
Ctor.
|
describeMismatchSafely, describeTo, matchesSafelypublic HasLines(org.cactoos.Text... lns)
lns - The expected lines to be present.public HasLines(String... lns)
lns - The expected lines to be present.public HasLines(Iterable<String> lns)
lns - The expected lines to be present.public HasLines(org.cactoos.BiFunc<Collection<String>,Collection<String>,Boolean> fnc, org.cactoos.Scalar<String> sep, Collection<String> lns)
fnc - The function to match the actual/expected lines.sep - OS dependent line separator.lns - The expected lines to be present.Copyright © 2017–2019 jcabi.com. All rights reserved.