Search in sources :

Example 1 with MsTeamsKey

use of com.synopsys.integration.alert.descriptor.api.MsTeamsKey in project hub-alert by blackducksoftware.

the class StaticJobAccessorTestIT method verifyMSTeamsSavesTest.

@Test
public void verifyMSTeamsSavesTest() {
    MSTeamsJobDetailsModel msTeamsJobDetailsModel = new MSTeamsJobDetailsModel(UUID.randomUUID(), "webhook");
    DistributionJobRequestModel jobRequestModel = createJobRequestModel(msTeamsJobDetailsModel, new MsTeamsKey());
    createAndAssertJob(jobRequestModel);
}
Also used : MsTeamsKey(com.synopsys.integration.alert.descriptor.api.MsTeamsKey) MSTeamsJobDetailsModel(com.synopsys.integration.alert.common.persistence.model.job.details.MSTeamsJobDetailsModel) DistributionJobRequestModel(com.synopsys.integration.alert.common.persistence.model.job.DistributionJobRequestModel) AlertIntegrationTest(com.synopsys.integration.alert.util.AlertIntegrationTest) Test(org.junit.jupiter.api.Test)

Aggregations

DistributionJobRequestModel (com.synopsys.integration.alert.common.persistence.model.job.DistributionJobRequestModel)1 MSTeamsJobDetailsModel (com.synopsys.integration.alert.common.persistence.model.job.details.MSTeamsJobDetailsModel)1 MsTeamsKey (com.synopsys.integration.alert.descriptor.api.MsTeamsKey)1 AlertIntegrationTest (com.synopsys.integration.alert.util.AlertIntegrationTest)1 Test (org.junit.jupiter.api.Test)1