HasElementNTimes.NTimesMatcher

public static class NTimesMatcher extends TypeSafeMatcher<InBrowser>

Internal implementation - not to be instantiated directly.

Fields

foundNTimes

int foundNTimes

Constructors

NTimesMatcher

NTimesMatcher(Path path, int nTimes, RelationOperator relationOperator)

Methods

describeMismatchSafely

protected void describeMismatchSafely(InBrowser browser, Description mismatchDescription)

describeTo

public void describeTo(Description description)

matchesSafely

protected boolean matchesSafely(InBrowser browser)

toString

public String toString()