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

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