Package de.gematik.test.tiger.lib.rbel
Class RbelMessageValidator
- java.lang.Object
-
- de.gematik.test.tiger.lib.rbel.RbelMessageValidator
-
public class RbelMessageValidator extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected de.gematik.rbellogger.data.RbelElementlastFilteredRequestprotected de.gematik.rbellogger.data.RbelElementlastResponse
-
Constructor Summary
Constructors Constructor Description RbelMessageValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompareXMLStructure(String test, String oracle)voidcompareXMLStructure(String test, String oracle, String diffOptionCSV)voidcompareXMLStructure(String test, String oracle, List<Function<org.xmlunit.builder.DiffBuilder,org.xmlunit.builder.DiffBuilder>> diffOptions)booleandoesPathOfMessageMatch(de.gematik.rbellogger.data.RbelElement req, String path)voidfilterGivenRequestsAndStoreInContext(String path, String rbelPath, String value, List<de.gematik.rbellogger.data.RbelElement> msgs)voidfilterNextRequestAndStoreInContext(String path, String rbelPath, String value)voidfilterRequestsAndStoreInContext(String path, String rbelPath, String value)de.gematik.rbellogger.data.RbelElementfindElemInLastResponse(String rbelPath)protected de.gematik.rbellogger.data.RbelElementfindRequestByDescription(String path, String rbelPath, String value, List<de.gematik.rbellogger.data.RbelElement> msgs)List<de.gematik.rbellogger.data.RbelElement>getRbelMessages()
-
-
-
Method Detail
-
getRbelMessages
public List<de.gematik.rbellogger.data.RbelElement> getRbelMessages()
-
doesPathOfMessageMatch
public boolean doesPathOfMessageMatch(de.gematik.rbellogger.data.RbelElement req, String path)
-
filterRequestsAndStoreInContext
public void filterRequestsAndStoreInContext(String path, String rbelPath, String value)
-
filterGivenRequestsAndStoreInContext
public void filterGivenRequestsAndStoreInContext(String path, String rbelPath, String value, List<de.gematik.rbellogger.data.RbelElement> msgs)
-
findRequestByDescription
protected de.gematik.rbellogger.data.RbelElement findRequestByDescription(String path, String rbelPath, String value, List<de.gematik.rbellogger.data.RbelElement> msgs)
-
filterNextRequestAndStoreInContext
public void filterNextRequestAndStoreInContext(String path, String rbelPath, String value)
-
compareXMLStructure
public void compareXMLStructure(String test, String oracle, List<Function<org.xmlunit.builder.DiffBuilder,org.xmlunit.builder.DiffBuilder>> diffOptions)
-
compareXMLStructure
public void compareXMLStructure(String test, String oracle, String diffOptionCSV)
-
findElemInLastResponse
public de.gematik.rbellogger.data.RbelElement findElemInLastResponse(String rbelPath)
-
-