@Test
  public void shouldSynchronizeHudsonFiles() throws Throwable {
    // Initializing the repository...
    SCM mockedSCM = createSCMMock(true);
    ScmContext scmContext =
        new ScmContext(
            mockedSCM, getSCMRepositoryURL(), getSCMCommentPrefix(), getSCMCommentSuffix());
    sscBusiness.init(scmContext);

    // Synchronizing hudson config files
    sscBusiness.synchronizeAllConfigs(
        scmContext, ScmSyncConfigurationPlugin.AVAILABLE_STRATEGIES, Hudson.getInstance().getMe());

    verifyCurrentScmContentMatchesHierarchy(
        "expected-scm-hierarchies/InitRepositoryTest.shouldSynchronizeHudsonFiles/");
  }