public void SetUp()
        {
            const string projectFilePath = @"Data\ProjectInfos.xml";
              const string environmentDirPath = @"Data";

              IProjectInfoRepository projectInfoRepository = new XmlProjectInfoRepository(projectFilePath);
              IMsSqlDatabasePublisher databasePublisher = new MsSqlDatabasePublisher(new CmdExecutor(), null);
              IEnvironmentInfoRepository environmentInfoRepository = new XmlEnvironmentInfoRepository(environmentDirPath);
              IFileAdapter fileAdapter = new FileAdapter();
              IArtifactsRepository artifactsRepository = new TeamCityArtifactsRepository(new TeamCityClient("teamcity", 90, "guest", "guest"));
              IDbManagerFactory dbManagerFactory = new MsSqlDbManagerFactory();
              IZipFileAdapter zipFileAdapter = new ZipFileAdapter();

              _publishDbProjectDeploymentTask = new PublishDbProjectDeploymentTask(
            projectInfoRepository,
            environmentInfoRepository,
            artifactsRepository,
            fileAdapter,
            zipFileAdapter,
            dbManagerFactory,
            databasePublisher);
        }
 public void SetUp()
 {
     _teamCityClient = new Mock<ITeamCityRestClient>(MockBehavior.Loose);
       _teamCityArtifactsRepository = new TeamCityArtifactsRepository(_teamCityClient.Object);
 }