### Question:
PropertyManager { public void setGeneratedHtmlReportDirectory(final String generatedHtmlReportDirectory) throws WrongOrMissingPropertyException { if (!isSet(generatedHtmlReportDirectory)) { throw new WrongOrMissingPropertyException("generatedHtmlReportDirectory"); } this.generatedHtmlReportDirectory = generatedHtmlReportDirectory; } @Inject  PropertyManager(
            final CluecumberLogger logger,
            FileIO fileIO,
            final PropertiesFileLoader propertiesFileLoader
    ); String getSourceJsonReportDirectory(); void setSourceJsonReportDirectory(final String sourceJsonReportDirectory); String getGeneratedHtmlReportDirectory(); void setGeneratedHtmlReportDirectory(final String generatedHtmlReportDirectory); Map<String, String> getCustomParameters(); void setCustomParameters(final Map<String, String> customParameters); void setCustomParametersFile(String customParametersFile); boolean isFailScenariosOnPendingOrUndefinedSteps(); void setFailScenariosOnPendingOrUndefinedSteps(final boolean failScenariosOnPendingOrUndefinedSteps); boolean isExpandBeforeAfterHooks(); void setExpandBeforeAfterHooks(final boolean expandBeforeAfterHooks); boolean isExpandStepHooks(); void setExpandStepHooks(final boolean expandStepHooks); boolean isExpandDocStrings(); void setExpandDocStrings(final boolean expandDocStrings); String getCustomCssFile(); void setCustomCssFile(final String customCssFile); String getCustomStatusColorPassed(); void setCustomStatusColorPassed(final String customStatusColorPassed); String getCustomStatusColorFailed(); void setCustomStatusColorFailed(final String customStatusColorFailed); String getCustomStatusColorSkipped(); void setCustomStatusColorSkipped(final String customStatusColorSkipped); String getCustomPageTitle(); void setCustomPageTitle(final String customPageTitle); void logProperties(); PluginSettings.StartPage getStartPage(); void setStartPage(final String startPage);  }### Answer:
@Test(expected = WrongOrMissingPropertyException.class) public void missingHtmlReportDirectoryTest() throws Exception { propertyManager.setGeneratedHtmlReportDirectory(""); }