use of com.checkmarx.sdk.dto.cx.CxProject in project checkmarx-spring-boot-java-sdk by checkmarx-ltd.
the class CxServiceIT method getProject.
@Test
public void getProject() {
try {
String teamId = service.getTeamId(properties.getTeam());
Integer projectId = service.getProjectId(teamId, "Riches");
CxProject project = service.getProject(projectId);
assertNotNull(project);
assertNotEquals(Integer.valueOf(-1), project.getId());
} catch (CheckmarxException e) {
fail("Unexpected CheckmarxException");
}
}
Aggregations