public class FileLoadingMatcher
extends org.hamcrest.TypeSafeDiagnosingMatcher<com.ca.codesv.sdk.Request>
RawRequest
and matching these files against
Request
.Constructor and Description |
---|
FileLoadingMatcher(java.lang.String filePath,
java.lang.String headerName)
Constructs a custom matcher that matches
Request against request define in file. |
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(com.ca.codesv.sdk.Request item,
org.hamcrest.Description mismatchDescription) |
public FileLoadingMatcher(java.lang.String filePath, java.lang.String headerName)
Request
against request define in file.filePath
- path for a request fileheaderName
- header name for matchingprotected boolean matchesSafely(com.ca.codesv.sdk.Request item, org.hamcrest.Description mismatchDescription)
matchesSafely
in class org.hamcrest.TypeSafeDiagnosingMatcher<com.ca.codesv.sdk.Request>
public void describeTo(org.hamcrest.Description description)