### Question:
SystemServiceImpl extends ServiceSupport implements SystemService { public File getLogDirectory() { File file = new File(getInstallationDirectory(), "var/log"); file = FileUtil.canonicalize(file); return file; } @Inject  SystemServiceImpl(final SecurityService securityService); File getInstallationDirectory(); File getLogDirectory(); File getWorkingDirectory(); XmlFile getConfigFile(); String getUrl(); String getVersion(); InitMilestone getInitLevel(); boolean isQuietingDown(); boolean isTerminating(); String getSystemMessage(); void doQuietDown(); void doQuietDown(boolean toggle); void doCancelQuietDown(); void doReload(); void doRestart(boolean safely); void doRestart(); void doRestartSafely();  }### Answer:
@Test(expected = IllegalStateException.class) public void getLogDirectoryThrowsIllegalStateException() { system.getLogDirectory(); }