@Override
    public final List<Modification> modificationsSince(File workDir, Revision revision) {
        try {
            LOGGER.debug("[TFS] Modification check for Workspace: {}, Working Folder {}, Revision {} ", workspace, workDir, revision);
            return modificationsSinceRevInHistory(revision);
        } catch (Exception e) {
            String message = String.format("Failed while checking for modifications since revision %s on Server: %s, Project Path: %s, Username: %s, Domain: %s,"
                            + " Root Cause: %s",
                    revision.getRevision(),
                    url, projectPath,
                    userName,
                    domain, e.getMessage());
            throw new RuntimeException(message, e);
        }
    }
@Test
    public void testModificationsSince() throws Exception {
        List<Modification> modifications = new ArrayList<>();
        modifications.add(new Modification(user, "comment latest", "email", new Date(), "10"));
        modifications.add(new Modification(user, "comment latest", "email", new Date(), "9"));
        modifications.add(new Modification(user, "comment latest", "email", new Date(), "8"));

        when(tfsCommand.history(null, 1)).thenReturn(List.of(modifications.get(0)));
        when(tfsCommand.history("10", 3)).thenReturn(modifications);
        List<Modification> actual = tfsCommand.modificationsSince(workDir, new StringRevision("7"));

        assertThat(actual.containsAll(modifications), is(true));
    }