Package com.saasovation.common.event

Examples of com.saasovation.common.event.MockEventStore


    protected void setUp() throws Exception {
        this.database = LevelDBProvider.instance().databaseFrom(TEST_DATABASE);

        LevelDBProvider.instance().purge(this.database);

        this.eventStore = new MockEventStore(new PersistenceManagerProvider() {});

        assertNotNull(eventStore);

        this.publishedNotificationTrackerStore =
                new LevelDBPublishedNotificationTrackerStore(
View Full Code Here


        super();
    }

    public void testNewNotificationPublisher() throws Exception {

        EventStore eventStore = new MockEventStore(new PersistenceManagerProvider() {});

        assertNotNull(eventStore);

        PublishedNotificationTrackerStore publishedNotificationTrackerStore =
                new HibernatePublishedNotificationTrackerStore(
View Full Code Here

        assertEquals(decodedNextLogId, new NotificationLogId(nextId));
        assertEquals(decodedCurrentLogId, decodedNextLogId);
    }

    private EventStore eventStore() {
        EventStore eventStore = new MockEventStore(new PersistenceManagerProvider() {});

        assertNotNull(eventStore);

        return eventStore;
    }
View Full Code Here

TOP

Related Classes of com.saasovation.common.event.MockEventStore

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.