void () { assertEquals("file1/file2", Paths.appended("file1", "file2")); assertEquals("c:/root/file", Paths.appended("c:/root", "file")); assertEquals("/foo", Paths.appended("/", "foo")); assertEquals("/foo/bar", Paths.appended("/foo", "bar")); assertEquals("bar", Paths.appended("", "bar")); }