Package org.asmatron.messengine.engines.AnnotationTestingClasses

Examples of org.asmatron.messengine.engines.AnnotationTestingClasses.EventMethodTester


    assertEquals("aer", annotationTester.val);
  }

  @Test
  public void shouldManageEvent() throws Exception {
    EventMethodTester annotationTester = new EventMethodTester();
    viewConfigurator.setupViewEngine(annotationTester);
    engine.fireEvent(TestTypes.event, new ValueEvent<String>("air"));
    assertEquals("air", annotationTester.val);
  }
View Full Code Here


  }

  @Test
  public void shouldTestDualEvents() throws Exception {
    DualEventTester annotationTester = new DualEventTester();
    EventMethodTester annotationTester1 = new EventMethodTester();

    viewConfigurator.setupViewEngine(annotationTester);
    viewConfigurator.setupViewEngine(annotationTester1);

    engine.fireEvent(TestTypes.event, new ValueEvent<String>("air"));
View Full Code Here

TOP

Related Classes of org.asmatron.messengine.engines.AnnotationTestingClasses.EventMethodTester

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.