String absolutePath= application.sfResolve("temp1:absolutePath", (String) null, true);
Prim temp1 = application.sfResolve("temp1", (Prim) null, true); String absolutePath = temp1.sfResolve("absolutePath", (String) null, true);
    public void testWorking() throws Throwable {        Prim application=deployExpectingSuccess(FILES + "tempFileTestWorking.sf", "tempFileTestWorking");        File file;        try {            String filename = application.sfResolve(TempFile.ATTR_FILENAME, (String) null, true);            String suffix = application.sfResolve(TempFile.ATTR_SUFFIX, (String) null, true);            String prefix = application.sfResolve(TempFile.ATTR_PREFIX, (String) null, true);            file = new File(filename);            assertTrue("found " + suffix + " in " + filename, filename.endsWith(suffix));            assertTrue("found "+prefix+" in "+filename,file.getName().indexOf(prefix)==0);            //now verify we clean up            assertTrue(file.exists());            String absolutePath= application.sfResolve("temp1:absolutePath", (String) null, true);        } finally {            terminateApplication(application);        }        assertFalse(file.exists());    }