@Test
public void testGetRelativePathWithSpaces() throws MojoExecutionException {

    JGitSourceReferencesProvider provider = new JGitSourceReferencesProvider();
    File projectBasedir = new File("/foo/test me/bar/baz boo");
    File repoRoot = new File("/foo/test me/");
    assertEquals("bar/baz boo", provider.getRelativePath(projectBasedir, repoRoot));
}