### Question:
ZeppelinConfiguration extends XMLConfiguration { public String getNotebookDir() { return getString(ConfVars.ZEPPELIN_NOTEBOOK_DIR); } ZeppelinConfiguration(URL url);  ZeppelinConfiguration(); static synchronized ZeppelinConfiguration create(); String getString(ConfVars c); String getString(String envName, String propertyName, String defaultValue); int getInt(ConfVars c); int getInt(String envName, String propertyName, int defaultValue); long getLong(ConfVars c); long getLong(String envName, String propertyName, long defaultValue); float getFloat(ConfVars c); float getFloat(String envName, String propertyName, float defaultValue); boolean getBoolean(ConfVars c); boolean getBoolean(String envName, String propertyName, boolean defaultValue); boolean useSsl(); boolean useClientAuth(); String getServerAddress(); int getServerPort(); String getServerContextPath(); String getKeyStorePath(); String getKeyStoreType(); String getKeyStorePassword(); String getKeyManagerPassword(); String getTrustStorePath(); String getTrustStoreType(); String getTrustStorePassword(); String getNotebookDir(); String getUser(); String getBucketName(); String getEndpoint(); String getS3KMSKeyID(); String getS3EncryptionMaterialsProviderClass(); String getInterpreterDir(); String getInterpreterJson(); String getInterpreterSettingPath(); String getNotebookAuthorizationPath(); Boolean credentialsPersist(); String getCredentialsPath(); String getShiroPath(); String getInterpreterRemoteRunnerPath(); String getInterpreterLocalRepoPath(); String getRelativeDir(ConfVars c); String getRelativeDir(String path); boolean isWindowsPath(String path); String getConfDir(); List<String> getAllowedOrigins(); String getWebsocketMaxTextMessageSize(); boolean getUseJdbcAlias(); Map<String, String> dumpConfigurations(ZeppelinConfiguration conf,
                                                ConfigurationKeyPredicate predicate);  }### Answer:
@Test public void getNotebookDirTest() throws ConfigurationException { ZeppelinConfiguration conf = new ZeppelinConfiguration(this.getClass().getResource("/zeppelin-site.xml")); String notebookLocation = conf.getNotebookDir(); Assert.assertEquals("notebook", notebookLocation); }