@Test
public void shouldSetFolderToUrlMinusFilename() {

    MockArtifact mockArtifact = new MockArtifact("foo.jar");
    mockArtifact.setUrl("file://dev/null/foo.jar");
    List<Modification> mods = getMods(artifacts(mockArtifact));
    assertEquals("file://dev/null", mods.get(0).getFolderName());
}