### Question:
KerberosServerAction extends AbstractServerAction { protected static String getDataDirectoryPath(Map<String, String> commandParameters) { return getCommandParameterValue(commandParameters, DATA_DIRECTORY); }   static final String AUTHENTICATED_USER_NAME; static final String DATA_DIRECTORY; static final String DEFAULT_REALM; static final String SERVICE_COMPONENT_FILTER; static final String HOST_FILTER; static final String IDENTITY_FILTER; static final String KDC_TYPE; static final String UPDATE_CONFIGURATION_POLICY; static final String UPDATE_CONFIGURATION_NOTE; static final String DATA_DIRECTORY_PREFIX; static final String KEYTAB_CONTENT_BASE64; static final String OPERATION_TYPE; static final String INCLUDE_AMBARI_IDENTITY; static final String PRECONFIGURE_SERVICES; }### Answer:
@Test public void testGetDataDirectoryPathStatic() throws Exception { Assert.assertEquals(temporaryDirectory.getAbsolutePath(), KerberosServerAction.getDataDirectoryPath(commandParams)); }
@Test public void testGetDataDirectoryPath() throws Exception { replayAll(); Assert.assertEquals(temporaryDirectory.getAbsolutePath(), action.getDataDirectoryPath()); verifyAll(); }