use of com.synopsys.integration.blackduck.http.client.IntHttpClientTestHelper in project blackduck-common by blackducksoftware.
the class ProjectMappingServiceTest method setUp.
@BeforeEach
void setUp() throws IntegrationException {
IntHttpClientTestHelper intHttpClientTestHelper = new IntHttpClientTestHelper();
blackDuckServicesFactory = intHttpClientTestHelper.createBlackDuckServicesFactory();
projectMappingService = blackDuckServicesFactory.createProjectMappingService();
ProjectService projectService = blackDuckServicesFactory.createProjectService();
String testProjectName = intHttpClientTestHelper.getProperty("TEST_PROJECT");
String testProjectVersion = intHttpClientTestHelper.getProperty("TEST_VERSION");
ProjectSyncModel projectSyncModel = ProjectSyncModel.createWithDefaults(testProjectName, testProjectVersion);
ProjectVersionWrapper projectVersionWrapper = projectService.syncProjectAndVersion(projectSyncModel);
projectView = projectVersionWrapper.getProjectView();
}
Aggregations