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

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