@Test(expected = ProjectManagerException.class)
public void testDisabled() {

  // Ensure that if the DependencyTransferManager is disabled, ArchiveUnthinner is also.
  DependencyTransferManager disabledTransferManager = mock(DependencyTransferManager.class);
  doReturn(false).when(disabledTransferManager).isEnabled();
  ArchiveUnthinner disabledUnthinner = new ArchiveUnthinner(this.validatorUtils,
      this.jdbcDependencyManager, disabledTransferManager);
  // Try to validate a project (this should fail!)
  disabledUnthinner.validateThinProject(this.project, this.projectFolder,
      startupDependenciesFile, null);
}