Search in sources :

Example 1 with MockEventManager

use of com.serotonin.m2m2.MockEventManager in project ma-core-public by MangoAutomation.

the class PublisherAuditTest method getLifecycle.

@Override
protected MockMangoLifecycle getLifecycle() {
    MockMangoLifecycle lifecycle = super.getLifecycle();
    lifecycle.setEventManager(new MockEventManager(true));
    return lifecycle;
}
Also used : MockMangoLifecycle(com.serotonin.m2m2.MockMangoLifecycle) MockEventManager(com.serotonin.m2m2.MockEventManager)

Example 2 with MockEventManager

use of com.serotonin.m2m2.MockEventManager in project ma-core-public by infiniteautomation.

the class UserEventsTest method getLifecycle.

@Override
protected MockMangoLifecycle getLifecycle() {
    MockMangoLifecycle lifecycle = super.getLifecycle();
    lifecycle.setEventManager(new MockEventManager(true));
    return lifecycle;
}
Also used : MockMangoLifecycle(com.serotonin.m2m2.MockMangoLifecycle) MockEventManager(com.serotonin.m2m2.MockEventManager)

Example 3 with MockEventManager

use of com.serotonin.m2m2.MockEventManager in project ma-core-public by infiniteautomation.

the class PublisherAuditTest method getLifecycle.

@Override
protected MockMangoLifecycle getLifecycle() {
    MockMangoLifecycle lifecycle = super.getLifecycle();
    lifecycle.setEventManager(new MockEventManager(true));
    return lifecycle;
}
Also used : MockMangoLifecycle(com.serotonin.m2m2.MockMangoLifecycle) MockEventManager(com.serotonin.m2m2.MockEventManager)

Example 4 with MockEventManager

use of com.serotonin.m2m2.MockEventManager in project ma-core-public by MangoAutomation.

the class UserEventsTest method getLifecycle.

@Override
protected MockMangoLifecycle getLifecycle() {
    MockMangoLifecycle lifecycle = super.getLifecycle();
    lifecycle.setEventManager(new MockEventManager(true));
    return lifecycle;
}
Also used : MockMangoLifecycle(com.serotonin.m2m2.MockMangoLifecycle) MockEventManager(com.serotonin.m2m2.MockEventManager)

Aggregations

MockEventManager (com.serotonin.m2m2.MockEventManager)4 MockMangoLifecycle (com.serotonin.m2m2.MockMangoLifecycle)4