public class HasElementNTimes extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HasElementNTimes.NTimesMatcher
Internal implementation - not to be instantiated directly.
|
| Constructor and Description |
|---|
HasElementNTimes(Path path,
int nTimes) |
| Modifier and Type | Method and Description |
|---|---|
org.hamcrest.Matcher<InBrowser> |
times()
matches the exact number given
|
org.hamcrest.Matcher<InBrowser> |
timesOrLess()
matches the number given, or less
|
org.hamcrest.Matcher<InBrowser> |
timesOrMore()
matches the number given, or more
|
public HasElementNTimes(Path path, int nTimes)
public org.hamcrest.Matcher<InBrowser> times()
public org.hamcrest.Matcher<InBrowser> timesOrMore()
public org.hamcrest.Matcher<InBrowser> timesOrLess()
Copyright © 2018. All rights reserved.