Index: trunk/test/unit/org/openstreetmap/josm/tools/StreamUtilsTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/tools/StreamUtilsTest.java	(revision 15731)
+++ trunk/test/unit/org/openstreetmap/josm/tools/StreamUtilsTest.java	(revision 15732)
@@ -5,4 +5,9 @@
 import org.junit.Test;
 import org.openstreetmap.josm.testutils.JOSMTestRules;
+
+import static org.junit.Assert.assertEquals;
+
+import java.util.Arrays;
+import java.util.stream.Collectors;
 
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
@@ -29,3 +34,12 @@
         UtilityClassTestUtil.assertUtilityClassWellDefined(StreamUtils.class);
     }
+
+    /**
+     * Tests {@link StreamUtils#reversedStream(java.util.List)}
+     */
+    @Test
+    public void testReverseStream() {
+        assertEquals("baz/bar/foo",
+                StreamUtils.reversedStream(Arrays.asList("foo", "bar", "baz")).collect(Collectors.joining("/")));
+    }
 }
