  @Test
  public void renameFile() throws IOException, MojoExecutionException {

    String origFileName = "file.temp";
    String destFileName = "file.zip";

    File orig = temp.newFile(origFileName);
    File dest = new File(temp.getRoot(), destFileName);

    assertThat("Origin file should exist", orig.exists());
    assertThat("Destination file should not exist", !dest.exists());

    mojo.renameFile(orig, dest);

    assertThat("Origin file should not exist", !orig.exists());
    assertThat("Destination file should exist", dest.exists());
  }