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

    String configFilePath = Resources.getResource("fixtures/config.all_fields.good.json").getPath();
    RaftConfiguration configuration = RaftConfigurationLoader.loadFromFile(configFilePath);
    assertThat(WRITER.writeValueAsString(configuration), configuration, equalTo(RaftConfigurationFixture.RAFT_ALL_FIELDS_CONFIGURATION));
}