// Absolute path.
// 1. The node does not exist. Create it.
Preferences prefs0 = Preferences.userRoot().node("/an1/san1");
assertNotNull("should not be null", prefs0);
assertTrue("expected node == /an1/san1, " + prefs0.absolutePath(), prefs0.absolutePath().equals("/an1/san1"));
// 2. If node exists. Get it.
Preferences prefs1 = Preferences.userRoot().node("/an1/san1");
assertNotNull("should not be null", prefs1);
assertTrue("expected node == /an1/san1, " + prefs1.absolutePath(), prefs1.absolutePath().equals("/an1/san1"));