@Test
public void shouldFailToLoadConfigurationThatHasUnexpectedJsonFields() throws IOException, RaftConfigurationException {

    String configFilePath = Resources.getResource("fixtures/config.bad.2.json").getPath();
    expectedException.expect(UnrecognizedPropertyException.class);
    RaftConfigurationLoader.loadFromFile(configFilePath);
}