@Test
public void testReplaceFileExtension() {

    assertEquals("foo.bar", FileUtils.replaceFileExtension("foo.txt", "bar"));
    assertEquals("foo.baz", FileUtils.replaceFileExtension("foo", "baz"));
}