@Test
public void setCustomParametersFileTest() throws CluecumberPluginException {

    String customParametersFile = "src/test/resources/test.properties";
    when(fileIO.isExistingFile(customParametersFile)).thenCallRealMethod();
    when(fileIO.readContentFromFile(customParametersFile)).thenCallRealMethod();
    propertyManager.setCustomParametersFile(customParametersFile);
    assertThat(propertyManager.getCustomParametersFile(), is(customParametersFile));
    final Map<String, String> customParameters = propertyManager.getCustomParameters();
    assertThat(customParameters.size(), is(2));
    assertThat(customParameters.get("Test_Property"), is("some value"));
    assertThat(customParameters.get("Test_Property2"), is("another value"));
}