Refactoring tests
This commit is contained in:
parent
64f35ff0b6
commit
c661f9a52c
|
@ -27,7 +27,7 @@ public class HarmonizerTest extends ContextTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testUnMarshallingMatcherReplace() throws Exception {
|
public void testUnMarshallingMatcherReplace() throws Exception {
|
||||||
InputStream inputStream = HarmonizerTest.class.getClassLoader().getResourceAsStream("newRules.json");
|
InputStream inputStream = HarmonizerTest.class.getClassLoader().getResourceAsStream("rule.json");
|
||||||
ObjectMapper mapper = DSMapper.getObjectMapper();
|
ObjectMapper mapper = DSMapper.getObjectMapper();
|
||||||
MatcherReplace matcherReplace = mapper.readValue(inputStream, MatcherReplace.class);
|
MatcherReplace matcherReplace = mapper.readValue(inputStream, MatcherReplace.class);
|
||||||
logger.debug("{}", matcherReplace);
|
logger.debug("{}", matcherReplace);
|
||||||
|
|
Loading…
Reference in New Issue