### Question:
Paths { public final static String getDasPropsPath(final Node node) { return getNodeDir(node) + "/" + DAS_PROPS_SUBPATH; } private  Paths(); final static String getNodesDir(final Node node); final static String getNodeDir(final Node node); final static String getDasPropsPath(final Node node); static String getInstanceDirPath(final Node node, final String instanceName); final static String DAS_PROPS_FILENAME; final static String DAS_PROPS_SUBPATH; }### Answer:
@Test public void testGetDasPropsPath() { String d1 = Paths.getDasPropsPath(new NodeWithNodeDir()); String d2 = Paths.getDasPropsPath(new NodeWithoutNodeDir()); String d1expect = SPECIFIED_NODE_DIR + "/agent/config/das.properties"; String d2expect = SPECIFIED_INSTALL_DIR + "/glassfish/nodes/" + NODE_NAME + "/agent/config/das.properties"; System.out.println("User-specified das props: " + d1); System.out.println("Default das props: " + d2); assertEquals(d1expect, d1); assertEquals(d2expect, d2); }