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

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