public class ChangeFileMatcher extends TypeSafeMatcher<ChangeFile>
Constructor and Description |
---|
ChangeFileMatcher(String fileName,
Matcher<String> versionMatcher) |
Modifier and Type | Method and Description |
---|---|
static Matcher<ChangeFile> |
changeFile(String fileName) |
static Matcher<ChangeFile> |
changeFile(String fileName,
Matcher<String> versionMatcher) |
void |
describeTo(Description desc) |
boolean |
matchesSafely(ChangeFile changeFile) |
describeMismatch, describeMismatchSafely, matches
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
public ChangeFileMatcher(String fileName, Matcher<String> versionMatcher)
public boolean matchesSafely(ChangeFile changeFile)
matchesSafely
in class TypeSafeMatcher<ChangeFile>
public void describeTo(Description desc)
public static Matcher<ChangeFile> changeFile(String fileName)
public static Matcher<ChangeFile> changeFile(String fileName, Matcher<String> versionMatcher)
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.