Search in sources :

Example 1 with NotificationExecutorWrapper

use of org.wso2.carbon.apimgt.impl.notification.util.NotificationExecutorWrapper in project carbon-apimgt by wso2.

the class NotificationExecutorTest method setup.

@Before
public void setup() {
    registry = Mockito.mock(Registry.class);
    notificationExecutor = new NotificationExecutorWrapper(registry);
    PowerMockito.mockStatic(APIUtil.class);
}
Also used : Registry(org.wso2.carbon.registry.core.Registry) NotificationExecutorWrapper(org.wso2.carbon.apimgt.impl.notification.util.NotificationExecutorWrapper) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 NotificationExecutorWrapper (org.wso2.carbon.apimgt.impl.notification.util.NotificationExecutorWrapper)1 Registry (org.wso2.carbon.registry.core.Registry)1