void () { assertThat(PathUtilRt.getFileName("foo.html")).isSameAs("foo.html"); assertThat(PathUtilRt.getFileName("/bar/foo.html")).isEqualTo("foo.html"); assertThat(PathUtilRt.getFileName("bar/foo.html")).isEqualTo("foo.html"); assertThat(PathUtilRt.getFileName("bar/foo.html/")).isEqualTo("foo.html"); assertThat(PathUtilRt.getFileName("bar/foo.html//")).isEqualTo("foo.html"); assertThat(PathUtilRt.getFileName("bar/foo.html///")).isEqualTo("foo.html"); assertThat(PathUtilRt.getFileName("/")).isEqualTo(""); assertThat(PathUtilRt.getFileName("")).isEqualTo(""); assertThat(PathUtilRt.getFileName("C")).isEqualTo("C"); }