(String sampleFileName, List<String> findValueList, String expectedValue)
| 21 | private final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance() ; |
| 22 | |
| 23 | private void testFindValue(String sampleFileName, List<String> findValueList, String expectedValue) |
| 24 | throws Exception { |
| 25 | DocumentBuilder builder = factory.newDocumentBuilder(); |
| 26 | File sampleRPCFile = getSampleFile(sampleFileName); |
| 27 | XML testXml = new XML(builder.parse(sampleRPCFile).getDocumentElement()); |
| 28 | |
| 29 | assertThat(testXml.findValue(findValueList)).isEqualTo(expectedValue); |
| 30 | } |
| 31 | |
| 32 | @Test |
| 33 | public void GIVEN_sampleXML_WHEN_findValueOfSample_THEN_returnValue() throws Exception { |
no test coverage detected