Package org.strecks.lifecycle

Examples of org.strecks.lifecycle.LifecycleMethodAware


  public void testInitMethodReader()
  {
    final boolean readAnnotations = reader.readAnnotations(ActionWithLifecycleMethods.class);
    assert readAnnotations;

    final LifecycleMethodAware initMethodAware = createMock(LifecycleMethodAware.class);
    initMethodAware.setInitMethod(isA(Method.class));
    initMethodAware.setCloseMethod(isA(Method.class));

    replay(initMethodAware);
    reader.populateController(initMethodAware);
    verify(initMethodAware);
  }
View Full Code Here

TOP

Related Classes of org.strecks.lifecycle.LifecycleMethodAware

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.