Package de.novanic.eventservice.client.event

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


public class RegistrationEventFilterCommandTest extends ClientCommandTestCase
{
    @Test
    public void testExecute() {
        final Domain theTestDomain = DomainFactory.getDomain("test_domain");
        final TypeEventFilterTestMode theTestEventFilter = new TypeEventFilterTestMode();

        getRemoteEventConnectorMock().registerEventFilter(theTestDomain, theTestEventFilter, getCommandCallback());

        testExecute(new RegistrationEventFilterCommand(getRemoteEventConnectorMock(), theTestDomain, theTestEventFilter, getCommandCallback()));
    }
View Full Code Here


public class ActivationCommandTest extends ClientCommandTestCase
{
    @Test
    public void testExecute() {
        final Domain theTestDomain = DomainFactory.getDomain("test_domain");
        final EventFilter theEventFilter = new TypeEventFilterTestMode();
        final TestEventNotification theTestEventNotification = new TestEventNotification();

        getRemoteEventConnectorMock().activate(theTestDomain, theEventFilter, theTestEventNotification, getCommandCallback());

        testExecute(new ActivationCommand(getRemoteEventConnectorMock(), theTestDomain, theEventFilter, theTestEventNotification, getCommandCallback()));
View Full Code Here

TOP

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

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.