@Test
public void testUnexpectedElementInNodeConfigThrowsException() {

    String nodeWithUnexpectedElement = "peer = {" +
            "active = [{\n" +
            "  port = 30303\n" +
            "  nodeName = Test\n" +
            "  unexpectedElement = 12345\n" +
            "}]}";
    Config invalidConfig = ConfigFactory.parseString(nodeWithUnexpectedElement);
    SystemProperties props = new SystemProperties();
    try {
        props.overrideParams(invalidConfig);
    } catch (RuntimeException ignore) { }
}