CustomMatchersUtil.ISPresentNTimesMatcherForDocument

public static class ISPresentNTimesMatcherForDocument extends TypeSafeMatcher<Path>

Internal implementation

Fields

foundNTimes

int foundNTimes

Constructors

ISPresentNTimesMatcherForDocument

public ISPresentNTimesMatcherForDocument(int nTimes, RelationOperator relationOperator, Document doc)

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()