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"));
// Relative path.
Preferences prefs3 = Preferences.userRoot().node("/an1");
Preferences prefs4 = prefs3.node("rn1/srn1");
assertNotNull("should not be null", prefs4);