CustomMatchersUtil.NTimesMatcher

public static class NTimesMatcher extends TypeSafeMatcher<Path>

Internal implementation

Fields

foundNTimes

int foundNTimes

Constructors

NTimesMatcher

public NTimesMatcher(int nTimes, RelationOperator relationOperator, InBrowser browser)

Methods

describeMismatchSafely

protected void describeMismatchSafely(Path el, Description mismatchDescription)

describeTo

public void describeTo(Description description)

matchesSafely

protected boolean matchesSafely(Path el)

toString

public String toString()