boolean dontIncludePartialMatch = false;
return findMatchedOperation(pathToFind, verbToFind, dontIncludePartialMatch);
}
private MockOperation findMatchedOperation(String pathToFind, HttpMethod verbToFind, boolean includePartialMatch) {
MockOperation bestMatchedOperation = null;
for (MockOperation operation : getMockOperationList()) {
String operationPath = ((RestMockAction) operation).getResourcePath();
HttpMethod operationVerb = ((RestMockAction) operation).getMethod();