Package de.novanic.eventservice.client.event

Examples of de.novanic.eventservice.client.event.DummyEvent


public class EventExecutionCommandTest extends ClientCommandTestCase
{
    @Test
    public void testExecute() {
        final Domain theTestDomain = DomainFactory.getDomain("test_domain");
        final Event theTestEvent = new DummyEvent();

        getRemoteEventConnectorMock().sendEvent(theTestDomain, theTestEvent, getCommandCallback());

        testExecute(new EventExecutionCommand(getRemoteEventConnectorMock(), theTestDomain, theTestEvent, getCommandCallback()));
    }
View Full Code Here


    }

    @Test
    public void testExecute_2() {
        final Domain theUserSpecificDomain = DomainFactory.USER_SPECIFIC_DOMAIN;
        final Event theTestEvent = new DummyEvent();

        getRemoteEventConnectorMock().sendEvent(theUserSpecificDomain, theTestEvent, getCommandCallback());

        testExecute(new EventExecutionCommand(getRemoteEventConnectorMock(), theUserSpecificDomain, theTestEvent, getCommandCallback()));
    }
View Full Code Here

    public DummyDomainEvent() {
        super(new de.novanic.eventservice.client.event.DummyEvent());
    }

    public DummyDomainEvent(Domain aDomain) {
        super(new DummyEvent(), aDomain);
    }
View Full Code Here

TOP

Related Classes of de.novanic.eventservice.client.event.DummyEvent

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.