Search in sources :

Example 1 with PartitionableObjectStore

use of org.mule.runtime.api.store.PartitionableObjectStore in project mule by mulesoft.

the class EventGroupTestCase method isDisposedEventGroupPartition.

@Test
public void isDisposedEventGroupPartition() throws Exception {
    EventGroup eventGroup = new EventGroup(UUID.getUUID(), muleContext);
    PartitionableObjectStore objectStore = mock(PartitionableObjectStore.class);
    eventGroup.initEventsStore(objectStore);
    eventGroup.clear();
    verify(objectStore).disposePartition(anyString());
}
Also used : PartitionableObjectStore(org.mule.runtime.api.store.PartitionableObjectStore) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 PartitionableObjectStore (org.mule.runtime.api.store.PartitionableObjectStore)1