### Question:
SaveModel { public String getOutputModelDirectory() { return this.outputModelDirectory; } SaveModel();  SaveModel(final boolean saveModel, final String outputDir); boolean isConfigurationValid(); boolean isDirectoryValid(); void printConfiguration(); boolean isSaveModel(); void setSaveModel(final boolean saveModel); String getOutputModelDirectory(); void setOutputModelDirectory(final String outputModelDirectory); static final String DEFAULT_OUTPUT_DIR_NAME; }### Answer:
@Test public void getOutputModelDirectory_saveTrueDefaultDir() { assertEquals(SaveModel.DEFAULT_OUTPUT_DIR_NAME, saveTrueDefaultDir.getOutputModelDirectory()); }
@Test public void getOutputModelDirectory_saveTrueEmptyDir() { assertEquals(StringUtils.EMPTY, saveTrueEmptyDir.getOutputModelDirectory()); }
@Test public void getOutputModelDirectory_saveTrueNullDir() { assertNull(saveTrueNullDir.getOutputModelDirectory()); }
@Test public void getOutputModelDirectory_saveFalseDefaultDir() { assertEquals(SaveModel.DEFAULT_OUTPUT_DIR_NAME, saveFalseDefaultDir.getOutputModelDirectory()); }
@Test public void getOutputModelDirectory_saveFalseEmptyDir() { assertEquals(StringUtils.EMPTY, saveFalseEmptyDir.getOutputModelDirectory()); }
@Test public void getOutputModelDirectory_saveFalseNullDir() { assertNull(saveFalseNullDir.getOutputModelDirectory()); }