Search in sources :

Example 1 with IntegrationHandler

use of io.syndesis.server.endpoint.v1.handler.integration.IntegrationHandler in project syndesis by syndesisio.

the class IntegrationHandlerTest method setUp.

@Before
public void setUp() {
    DataManager manager = mock(DataManager.class);
    Validator validator = mock(Validator.class);
    openShiftService = mock(OpenShiftService.class);
    inspectors = mock(Inspectors.class);
    handler = new IntegrationHandler(manager, openShiftService, validator, inspectors, new EncryptionComponent(null));
}
Also used : IntegrationHandler(io.syndesis.server.endpoint.v1.handler.integration.IntegrationHandler) Inspectors(io.syndesis.server.inspector.Inspectors) OpenShiftService(io.syndesis.server.openshift.OpenShiftService) EncryptionComponent(io.syndesis.server.dao.manager.EncryptionComponent) DataManager(io.syndesis.server.dao.manager.DataManager) Validator(javax.validation.Validator) Before(org.junit.Before)

Aggregations

DataManager (io.syndesis.server.dao.manager.DataManager)1 EncryptionComponent (io.syndesis.server.dao.manager.EncryptionComponent)1 IntegrationHandler (io.syndesis.server.endpoint.v1.handler.integration.IntegrationHandler)1 Inspectors (io.syndesis.server.inspector.Inspectors)1 OpenShiftService (io.syndesis.server.openshift.OpenShiftService)1 Validator (javax.validation.Validator)1 Before (org.junit.Before)1