Search in sources :

Example 1 with AlertSerializableModel

use of com.synopsys.integration.alert.api.common.model.AlertSerializableModel in project hub-alert by blackducksoftware.

the class AlertPagedModelTest method init.

@BeforeEach
public void init() {
    testContent = new ArrayList<>();
    AlertSerializableModel testAlertSerializableModel = Mockito.mock(AlertSerializableModel.class);
    testContent.add(testAlertSerializableModel);
    testAlertPagedModel = new AlertPagedModel(testTotalPages, testCurrentPage, testPageSize, testContent);
}
Also used : AlertSerializableModel(com.synopsys.integration.alert.api.common.model.AlertSerializableModel) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

AlertSerializableModel (com.synopsys.integration.alert.api.common.model.AlertSerializableModel)1 BeforeEach (org.junit.jupiter.api.BeforeEach)1